What are the correct delivery POST variables for Paypal Website Payments Standard Checkout?
I spent many hours for the shipment to work somewhat on the Paypal Website Payments Standard Checkout. In fact, I also use IPN, but this has nothing to do with it, namely, about getting delivery and processing payments from my cart so that they appear in the PayPal cashier and replace the Paypal delivery calculator.
What I learned:
- To let him know that your sending / processing of the basket should override the calculator, go to the profile of the sellerβs account, configure at least one delivery method (profile> sales parameters)> calculation of delivery) and check the box that says: "Use delivery fee in the transaction instead ... "[By the way, how to find what has changed and is no longer documented).
- The variables that you must have in your POST (from the Paypal button on your site) are documented here , but the documentation is WRONG about the "processing", which should be called "handling_cart".
- The docs are also incorrect regarding the "delivery" for which I cannot find the correct name. I have a workaround: although the documents say that you cannot load delivery for each item when you load the entire basket [cmd = "_cart"], you can actually. So my job is to set shipping_x to zero for all items except the first, and put the entire shipping cost on the first item, that is: shipping_1 = <shipping shipping>
So I hope this helps someone who comes after. And I hope that Paypal consolidates its actions in the documents, which was a big waste of time that I had.
- ? , "", "shipping_cart"? - ?