0
Well what I intend to do is to do the following, first, how can I send information to Paypal, through my PHP file of purchase value.
That is, the buyer selects the number of items and then click on Buy, how can I make paypal receive the purchase amount. That is if the buyer on the site selected items worth 25€, how can I pass this amount to Paypal, the 25€ and send a payment reference to later identify the user who paid.
Have you studied the Paypal API (https://developer.paypal.com/docs/api/), or tried using their PHP SDK (http://paypal.github.io/PayPal-PHP-SDK/)? Do you have any specific doubt?
– Rodrigo Rigotti
Dude, I recommend you take a look at their API. Paypal has a very complete documentation (larger than Pagseguro or MOIP), so you should find no problem. The URL to help you is this:(https://www.paypal-brasil.com.br/developers/tutorial/express-checkout-payments-appellants/)
– caiocafardo
I was watching, the buyer needs to have an account also in the sandbox paypal to be able to buy? It is that I had to see that Paypal and Sandbox Paypal are different "sites" with different characteristics. That means I had to re-create an account in the sandbox.
– Gonçalo