orders_create
API method, you must specify the payment_method=paypal
as well as provide a payment_return_url
. The payment_return_url
is your endpoint that will receive a POST request containing the final order data (in Step 3).payment_complete_url
. Your application should redirect the customer to this URL for completing the payment on PayPal.response
key of all the order information as a string. See examples below.
Example parsing the dataadd-line-items
API to add additional items to an order after the initial purchase (one-click upsells), you must have Reference Transactions enabled in your PayPal account and PayPal extension settingsorders_create
method, you do not need to specify the user (customer), the billing or shipping addresses, the shipping method, or other details -- these will be posted back from PayPal upon the completion of the checkout.payment_method=paypal
as well as provide a payment_return_url
. The payment_return_url
is your endpoint that will receive a POST request containing the final order data.payment_complete_url
. Your application should redirect the customer to this URL for completing their payment on PayPal.response
key of all the order information as a string. See examples below.
Example parsing the dataadd-line-items
API to add additional items to an order after the initial purchase (one-click upsells), you must have Reference Transactions enabled in your PayPal account and PayPal extension settings.