Good day to everyone.
I have a website for booking. Here I need to integrate PayPal payment.
The scenario is as follows: X enters the site, fills out a form with a lot of details (name, period, room type, whatever ... about 20 fields). Details are sent to a script that calculate the price.
Now I need the user to pay. I have to use authorization and capture to do this (in order to be able to cancel the payment within a certain time).
The first attempt was to create a payment button now. But such a request asks for a fixed price (and mine is generated).
A second button has been added to the cart. Same.
After some research, I found that express checking is what I need (I think ... not sure). I used the code generator from https://www.paypal-labs.com/integrationwizard/ecpaypal/code.php .
The problem is that this requires some delivery data and other useless things. Also I do not see where I fill in the name / credit / any other name ...
I just want a simple payment. Anyway, can I use the form and send the values ββto the specified address? Or something like that? As you know ... any normal API.
source
share