I have 2 questions:
I have a form (processed with PHP): The visitor fills his name, address, phone etc. On the same page he/she chooses the product +color(custom field 1) +shape(custom field 2) +material(custom field 3). The payment amount is automatically calculated. Ok, i now have all the data, so POST to PayPal. Here comes question one:
How to post more than one custom fields to PayPal?
Next, i am assuming that all the data (including the custom fields) was POST-ed to PayPal. The visitor fills his/her's data, pays. The payment process is complete, and PayPal redirects the user to my thanks.php page. Question 2:
How to POST the PayPal data back to my website (including the custom fields)?
I don't actually need to process the custom fields with PayPal, but i need them on the final page, after the payment is done. That's why my idea is to pass them trough PayPal, and when the checkout is complete, to pass them back to my website. I need all the information (name, address, phone, email, payment amount + the custom fields) POST-ed to my thanks.php page.
Right now i don't have a problem to create a page that posts the regular data (but not the custom fields) to PayPal, and it works fine. But i don't know how to post the custom fields
Any help is appreciated. Thank you.