After extracting the tokens, call the billing agreement execution method to conclude the billing agreement and register the user for the associated subscription purchase. That`s pretty much the conclusion of it, you develop a billing plan, and then assign a user to a particular plan (a so-called billing agreement) if you impose it to pay. Let`s dive deeper into these functions and see how each piece works. That`s pretty much it for our simple example. Between a billing plan and the billing agreement, you can create any number of subscription scenarios for your customers. If you record your contract details, receive a response from the “execution contract” call, and have an initial cost of setting up your agreements, you must also subscribe to PAYMENT.SALE.COMPLETED if the agreement goes from “no” to “asset.” Source: PayPal Support Tech Direct Carrier Billing, Direct Mobile Billing and Premium SMS Billing Payment, all supported with this mobile payment API PencePay.com all mobile billing streams: CODE PIN, Redirect-to-Operator, Premium SMS and SMS Handshake. According to the documentation relating to developer.paypal.com/docs/api/payments.billing-agreements/v1/ payment agreements are obsolete and replaced by subscriptions (developer.paypal.com/docs/api/subscriptions/v1/) @thomasplevy Yes, the developer.paypal.com/docs/api/payments.billing-agreements/v1/ of recurring payments is obsolete. Use the resource/billing-agreements to create, update, view balance for, cancel, reactivate, bill balance for, stop, list bookings and execute agreements. Currently, we store agreements in our own DB. The best way to get around the problems I can see so far so as not to capture IDDANTs agree is to use the following webhooks: Suppose we run a fruit club of the month, and that we sell monthly subscriptions to send a new range of unique fruits monthly to people. For new customers, we also offer a trial period during which you can have the first month free to take a look at the quality of the product. The billing plan API request would look like this: somewhere in the user PayPal dashboard, there is a list of all billing agreements so they have the data somewhere. It would be great if they could have access to it.
Once you`ve established the billing agreement, the API provides a je-token in the query sequence settings that tracks the deviation to PayPal payment methods. Keep in mind that two points here indicate that PayPal consider these things as objects. Thus, z.B. at the end PayPal “billing_info__outstanding_balance__currency_code” refers to a “currency code” value in an “Outstanding Balance” object that is itself in an “Invoicing Information” object. Here`s the real PayPal JSON of a call to the show subscription API, if you want to replicate more precisely its structure: We`ve obviously just started touching on all the features that are available to us with the new billing/billing ACCORD. We can continue with mechanisms to suspend and revoke settlement contracts, update parts of settlement plans and several other scenarios. Absolutely incredible that this is not one of the first things that have been added to the API for billing agreements… Once you have established the billing plan, you will receive a JSON response containing an identifier referring to the billing plan.