Everything is working like charm. The check out cycle is working with sandbox. My only request is how to pass user input from a field before customer clicks "Pay with Paypal".
This is the express checkout button I implemented in one of the wordpress pages:
[paypal amount="2.2" currency=USD button_style="checkout" description="$2.2 USD Buying a service"]
The issue is. This order requires a certain input from the customer that I need to validate 1st and then append to the order table so I can execute it later if the payment is a success.
Is it possible to have a form? the user will fill the form (one field only in this case), the script validate the input and direct to express checkout?
Can I use a function instead of a short code?
something like this: expresscheckout($amount,$currency,$desc,$identifier)
My end goal is to automate an online service from ordering to delivery.
Please if someone can point me in the right direction.