I have integrated a php-based application with paypal.
I have the following functions enabled:
- Do Direct Payment
- Set Express Checkout
- Create Recurring Payments Profile
- Manage Recurring Payments Profile Status
This means I have figured out four things:
- Take a payment
- setup automatic payments
- receive status of automatic payments
- cancel account.
I have one task left: pay for something adhoc. Unlike "Do Direct Payments", I do not want to take credit cards each time. Here's the scenerio:
I have two users. User A wants to connect to User B. Think like facebook "friending". If User A clicks "connect", a warning appears that says this:
"to connect with this individual will cost you 3 dollars now, and 1 dollar if they accept, do you agree?"
If they say yes, I take 3 dollars from them. Later on, User B agrees, and I take another dollar from User A.
what are the paypal procedures to allow for this? I have been talked to about "reference transactions", but it appears like the payment can only happen once. Do I authorize a reference transaction every time user A wants to connect?
What calls do I make to enable this?