在您的预订页面上直接接受信用卡和借记卡——客户无需离开您的网站即可付款
如果你的企业位于以下任一国家,即可使用 Stripe Elements:
可向你的客户收取以下任一货币:
要接入 Stripe Elements,你需要从 Stripe Elements 账户中获取以下凭据:
Stripe Elements draws the card fields directly on your booking page, so travellers never leave your site to pay. It runs on an ordinary Stripe account — the same one the redirect Stripe gateway uses — and needs three values from your Stripe Dashboard instead of two. Card fields need no domain registration and no extra approval from Stripe.
From dashboard.stripe.com/apikeys in live mode, take the publishable key (pk_live_…), which draws the card form in the traveller's browser, and the secret key (sk_live_…), which creates the charge. A restricted key works in place of the secret key and is the safer choice.
At dashboard.stripe.com/webhooks, create an endpoint listening for payment_intent.succeeded, pointing at the URL below. Copy its signing secret (whsec_…) — that is the third value.
Notification URL (webhook)
https://api.tourtask.com/v1/payments/stripe-elements/notifications/bookingIn TourTask go to Configuration → Payment options, add Stripe Elements, paste the three values and press Activate. Then press Open by default on its card, so the card fields are already expanded when the booking page loads. Only a gateway that puts card fields on your own page can be pre-opened, and having them open is much of the reason to choose Elements over the redirect.