I'm at a total loss on how to make this work.
I am using the CiviCRM API to create a contact, create a membership for that contact, and even create a contribution if that person selects check
, marking it to be paid later.
However, I cannot figure out how to pass a credit card through the API, using the PayPal integration to process the card payment and create the resulting contribution marking the membership as paid and active. None of the API resources have a parameter for card details that I could find, and I couldn't find anything on using the API to actually process payments.
Any tips? Thanks!