mirror of
https://github.com/therootcompany/paypal-checkout.js.git
synced 2025-05-11 16:46:37 +00:00
docs: update info on return_url
This commit is contained in:
parent
c1ad8a490a
commit
e02686c676
15
README.md
15
README.md
@ -57,11 +57,22 @@ PayPal.Plan.list();
|
||||
PayPal.Plan.details(id);
|
||||
PayPal.Plan.update(id, { description }); // event_type: "BILLING.PLAN.UPDATED"
|
||||
|
||||
PayPal.Subscription.create({ ... });
|
||||
PayPal.Subscription.createRequest({ ... });
|
||||
PayPal.Subscription.details(id);
|
||||
PayPal.Subscription.cancel(id, { reason });
|
||||
```
|
||||
|
||||
# Redirects
|
||||
|
||||
Subscription Request `return_url` will include the following:
|
||||
|
||||
```txt
|
||||
https://example.com/redirects/paypal-checkout/return
|
||||
?subscription_id=XXXXXXXXXXXXXX
|
||||
&ba_token=BA-00000000000000000
|
||||
&token=XXXXXXXXXXXXXXXXX
|
||||
```
|
||||
|
||||
# Webhooks
|
||||
|
||||
Webhooks can be set up in the Application section of the Dashboard:
|
||||
@ -72,8 +83,6 @@ You'll see a list of applications. Click on one to access the webhooks.
|
||||
|
||||
# Notes
|
||||
|
||||

|
||||
|
||||
Note: Just about everything in the PayPal SDK that uses `ALL_CAPS` is a
|
||||
`constant`/`enum` representing an option you can pick from limited number of
|
||||
options.
|
||||
|
Loading…
x
Reference in New Issue
Block a user