| field | |
|---|---|
| Publishable key (pk_…) | browser- Checkout public key. . |
| Secret key (sk_…) | Checkout session , account-- . . |
| Webhook signing secret (whsec_…) | Stripe- webhook . . |
| Success URL / Cancel URL | . |
Test mode Live key- Stripe (pk_test_ / sk_test_ pk_live_ / sk_live_ ), webhook signing secret-. Live Test tab-- Coin Moebius, test key-- live key- , .
field
Publishable key
browser- checkout account- . .
Secret key
, account-- .
Webhook signing secret
Stripe- webhook , paid . secret key- .
Success Cancel URL
: . .
- Coin Moebius- : webhook URL-
Coin Moebius dashboard- project- . project Project ID-. copy icon . Stripe webhook URL-. , Stripe- .
https://api.coinmoebius.com/webhook/stripe/<your project id>Coin Moebius → your project → Project ID webhook . webhook webhook signing secret Stripe, webhook- URL- (project ID- ). : webhook , secret- , API key-- .
- Stripe-, Webhooks
dashboard.stripe.com- . : search bar- webhooks Workbench Webhooks . (gear → Developers → Webhooks- .)
Stripe → search "webhooks" → Webhooks -
Webhooks screen-, Add destination . Stripe Create an event destination , screen- .
Stripe → Webhooks → Add destination -
Your account- . Events search box-, Coin Moebius , Continue . , checkout.session.completed .
- : checkout.session.completed, charge.refunded, charge.dispute.created.
- Subscriptions ( ): customer.subscription.created, customer.subscription.updated, customer.subscription.deleted, invoice.payment_succeeded, invoice.payment_failed.
Stripe → Create an event destination → Select events , .
- Webhook endpoint
, Webhook endpoint (Amazon EventBridge Azure Event Grid ), Continue .
Stripe → Choose destination type → Webhook endpoint - Coin Moebius webhook URL-
, Coin Moebius Webhook . Endpoint URL field-, webhook URL (- project ID- ). Create destination .
https://api.coinmoebius.com/webhook/stripe/<your project id>Stripe → Configure destination → Endpoint URL - signing secret (whsec_…)
Stripe - page . , Signing secret , icon (eye) whsec_… . webhook URL- .
Stripe → your destination → Signing secret , webhook . webhook.
- API key--
webhook, key-- . Stripe-, gear (Settings) , Personal settings Developers , Manage API keys .
1. Stripe → gear (Settings), top right 2. Settings → Developers 3. Developers → Manage API keys - Publishable key Secret key
Standard keys , Publishable key (pk_…) Secret key (sk_…) . secret key, key-, . Restricted keys .
Stripe → Developers → API keys → Standard keys pk_live_ / sk_live_- live key-. pk_test_ / sk_test_- test mode key-. mode key- .
- Coin Moebius- : Add provider → Stripe
project--, Providers tab Add provider . Connect a service , Stripe (, search box- Stripe ).
Coin Moebius → Providers → Add provider - key- secret , Save
Connect Stripe form-, Success URL Cancel URL ( ). Live tab-, Publishable key, Secret key, Webhook signing secret , Save . test key-- ? Test tab- , Edit- live key- .
Coin Moebius → Add provider → Stripe -
Providers tab-- Stripe, . Stripe- webhook URL card (, ), Edit Disconnect .
Coin Moebius → Providers → Stripe (connected) -
, account menu- Test mode- ( sandbox-) Stripe , test key-- test-mode webhook . card test card-: , CVC, postal code .
Result Card 4242 4242 4242 4242 4000 0025 0000 3155 4000 0000 0000 9995 Stripe → account menu → Switch to sandbox / Test mode
test :
- test key-- provider, test .
- page- buy button (local HTML file ) project- .
- test card .
- Transactions tab . succeeded , key-- webhook- , .
provider , live key-- , .
Verify- . dashboard-, provider- Verify . Stripe- key-- , .
key Verify.
sk_test_ sk_live_- secret key- (rk_- restricted keys). whsec_- webhook signing secret. field- .
key Stripe Verify .
Developers → API keys- secret key , live webhook secret test key ( ).
.
webhook. endpoint URL , checkout.session.completed , test-mode endpoint- test ( test endpoint live endpoint ).
Signature .
signing secret- Stripe endpoint. endpoint- settings- whsec_ , endpoint- .
.
simulate Stripe. Stripe Dashboard-, endpoint-- , test PaymentIntent , .
key- . secret key webhook secret , . secret field-, key .
. account- live key-. test key-.
? Join our Discord