 provider

PayPal

PayPal-     .   Coin Moebius .



field 
Client IDAPI  PayPal app- . secret  .
Client secretAPI auth   . Client ID ,  . .
Webhook IDPayPal  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

 :      . .



  1. 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
  2. app 

    API Credentials -,  Sandbox toggle  ,  Create App  ( ).

    PayPal → Apps & Credentials → Create App
  3.   Merchant 

    App Name  (Coin Moebius , ), Merchant- Type , sandbox business account- ,  Create App .

    PayPal → Create App
  4. 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  ,    ,  .

  5. 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 ( ), .

  6. Webhook ID 

     Sandbox Webhooks   webhook-.   Webhook ID .   webhook   PayPal  Coin Moebius;  . sandbox- live-  webhook  .

    PayPal →  → Sandbox Webhooks → Webhook ID
  7. 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
  8. 

     Providers   PayPal,    (sandbox credential  TEST ). PayPal-   webhook URL  card, Edit Disconnect  .

    Coin Moebius → Providers → PayPal ()
  9. sandbox   

     checkout- , sandbox  login- . PayPal-,  Business account  Personal account   Testing Tools → Sandbox Accounts .

    PayPal → Testing Tools → Sandbox Accounts
  10.  login  

    Login Info-  Personal () account : sandbox URL, email, password .    checkout-,   sandbox.paypal.com- .    .

    PayPal → Sandbox account → Login Info



live- ,    :

  1.    Testing- Environment- .  sandbox credential-  ,      . (sandbox  , live-  Testing ,   .)
  2. -    (local HTML file ) project- .
  3. sandbox  account-   checkout .
  4. 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

provider  ?

provider  . account--  ,   buy button  .