| field | |
|---|---|
| Client ID | API PayPal app- . secret . |
| Client secret | API auth . Client ID , . . |
| Webhook ID | PayPal webhook , . |
| Success URL / Cancel URL | . |
field
Client ID
API PayPal app- . Client secret .
Client secret
API auth . Client ID , , account-- .
Webhook ID
PayPal- webhook : ID webhook PayPal, PayPal . "paid" event .
Success and Cancel URL
: . .
- PayPal Developer dashboard
developer.paypal.com- . business account account Sandbox PayPal, . Sandbox ; Live , Sandbox / Live toggle ( ) PayPal for Business account . dashboard-, Apps & Credentials .
PayPal Developer → Apps & Credentials - app
API Credentials -, Sandbox toggle , Create App ( ).
PayPal → Apps & Credentials → Create App - Merchant
App Name (Coin Moebius , ), Merchant- Type , sandbox business account- , Create App .
PayPal → Create App - Client ID Client secret
PayPal. Client ID Secret key . (API Credentials Default Application - .) .
1. PayPal → API Credentials → app- 2. PayPal → app- → Client ID and Secret Client secret; password , . sandbox live , , .
- webhook
Sandbox Webhooks - Add Webhook . Webhook URL field-, project- PayPal webhook () . event Coin Moebius , .
- : CHECKOUT.ORDER.APPROVED, PAYMENT.CAPTURE.COMPLETED, PAYMENT.CAPTURE.DENIED, PAYMENT.CAPTURE.DECLINED, PAYMENT.CAPTURE.REFUNDED, PAYMENT.CAPTURE.REVERSED, CUSTOMER.DISPUTE.CREATED.
- subscription ( ): BILLING.SUBSCRIPTION.ACTIVATED, BILLING.SUBSCRIPTION.UPDATED, BILLING.SUBSCRIPTION.CANCELLED, BILLING.SUBSCRIPTION.PAYMENT.FAILED, PAYMENT.SALE.COMPLETED. , .
- ? All Events ( wildcard) ; .
https://api.coinmoebius.com/webhook/paypal/<your project id>PayPal → → Add webhook Coin Moebius dashboard- project project ID-; - . URL connected provider card ( ), .
- Webhook ID
Sandbox Webhooks webhook-. Webhook ID . webhook PayPal Coin Moebius; . sandbox- live- webhook .
PayPal → → Sandbox Webhooks → Webhook ID - Coin Moebius- : Add provider → PayPal
project-, Providers , Add provider , Connect a service , PayPal . Success URL Cancel URL . sandbox credential ? Test (optional) Client ID, Client secret, Webhook ID , Save . live- ? Live . Test : field , .
Coin Moebius → Add provider → PayPal -
Providers PayPal, (sandbox credential TEST ). PayPal- webhook URL card, Edit Disconnect .
Coin Moebius → Providers → PayPal () - sandbox
checkout- , sandbox login- . PayPal-, Business account Personal account Testing Tools → Sandbox Accounts .
PayPal → Testing Tools → Sandbox Accounts - login
Login Info- Personal () account : sandbox URL, email, password . checkout-, sandbox.paypal.com- . .
PayPal → Sandbox account → Login Info
live- , :
- Testing- Environment- . sandbox credential- , . (sandbox , live- Testing , .)
- - (local HTML file ) project- .
- sandbox account- checkout .
- Transactions . , Testing . succeeded , credential webhook- .
Live- Environment .
Verify- . dashboard-, client credential Verify ( sandbox Verify test credentials).
Verify.
Client ID Client secret . sandbox live , .
.
client credential app environment - Webhook ID. live webhook ID live credential. webhook URL .
.
PayPal Developer Dashboard → Webhooks Simulator: webhook URL-- event , .
Rotating secrets. client secret , . secret field.
? Join our Discord