PayPal

Execute PayPal Agreement with JUST a Customer Approval Payment Token

Use the Payment token from customer approval to execute an Agreement

Andy Huynh

2 minute read

We come across the problem of successfully creating and activating a PayPal billing plan and not being able to create and execute a billing agreement attached to the plan. PayPal sandbox says a billing plan is created, and we create a billing agreement successfully. There’s an interesting dance where PayPal asks you to get customer approval before you can marry the plan and agreement with the execute command. This part sucks.