Принимайте кредитные и дебетовые карты прямо на странице бронирования — клиенты платят, не покидая ваш сайт
Вы можете использовать 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.