Setting up Stripe
Stripe accepts cards, Apple Pay and Google Pay from customers worldwide, through Stripe's own hosted checkout page.
What you need
- A Stripe account that is activated for live payments.
- Your Secret key (required), and optionally your Publishable key and a Webhook signing secret.
Steps
- Log in to dashboard.stripe.com and make sure you are in live mode, not test mode.
- Go to Developers → API keys. Copy the Secret key (starts with
sk_live_) and the Publishable key. - In your Wisecsite dashboard, activate Stripe under Settings → Payment Gateways, paste the keys and save.
- Click Test connection.
Webhook (recommended)
Without a webhook, we confirm the payment when the customer returns to your store. With one, the order confirms even if the customer closes their browser straight after paying.
- In Stripe, go to Developers → Webhooks → Add endpoint.
- Endpoint URL:
https://wisecsite.com/api/gateway/ipn/YOUR-SITE-ID/stripe/. Your site ID is the long code in your dashboard's address bar after/site/. - Select the event
checkout.session.completed. - Copy the Signing secret (starts with
whsec_) into the Webhook secret field on Wisecsite and save.
Never paste your Secret key anywhere other than the Payment Gateways page. Our team will never ask you for it.