Learn how to set up billing agreements and use reference bookings for recurring payments with different amounts of money on a different schedule. Can this feature be achieved with PayPal REST API? If so, please help me provide a reference. I am aware that the billing plan and billing agreement can be established with PayPal REST API, but cannot be established without a billing agreement. Using an installation fee with the same amount of the subscription price: A user approves an agreement, and the first payment is made immediately. When the agreement is executed, my app`s response indicates if the fee has been executed (you don`t need to listen to Webhook to validate the first successful payment, only for future cancellations). The installation fee defers the first payment to the following month. To get the most up-to-date billing address, call BAUpdate with these input fields: You set the success-true in the billing plan return URL here You can set the setup_fee the same amount as the first payment and it should be counted as the first payment of the subscription. The APP must be created from a Sandbox account. When you log in to developer.paypal.com and click on the app, you`ll see under which Sandbox account it was created. The currency and the amount of tax that the agreement must establish. The default is 0. Question 1: Here, the sample code uses a success setting. However, if the user approves the agreement, the deviation will be made at localhost.com:8000/paypal/return?token=EC-2PL071170B629453H (in my case).
Does this mean that the success setting is no longer in use and documents need to be updated? In order for a buyer to terminate a billing agreement on your site, call BAUpdate with these foreclosure fields: The currency and the amount of the agreement`s installation fee. This fee is the initial and unique amount of payment due immediately when the billing agreement is established. Can be used as an initial amount to trigger initial_fail_amount_action. The default for the amount is 0. Whether PayPal will automatically pay the balance for the next billing cycle. The remaining balance payable is the total amount of previously failed planned payments. The value is this: after extracting the token, call the method of executing the billing agreement to conclude the billing agreement and register the user for the associated subscription purchase.