Good day. I'm an italian developer and I should want to integrate the paypal (only this) payment in the web site of my customer. In the cart page I have a custom button with which I execute my own javascript method inside which, if the payment method is paypal, I should go to the login page of the paypal account passing as parameters the amount to be paid and the url to be accessed in case positive and the url to be accessed in negative case (which would then be the return to the cart with an error message). In fact, in case of successful payment you should access a routine of the site that creates the order and everything that follows. If instead the payment fails, it must return to the cart displaying an error message. I've tried to read the Javascript SDK documentation, but if I understood well, using it I must to use the paypal buttons. How can I accomplish what I need? Best regards. Stefano [removed]
... View more