Stripe
Here is an explanation of the payment settings for the Stripe operator.
Stripe is an international operator - it is particularly useful when you accept payments in a currency other than Polish zloty.
Available options
Here is a list of the available options with a short explanation.
- Stripe API Key
Determines the secret or restricted API key of your Stripe account (starting with
sk_orrk_). You will find it in the Stripe panel in theDevelopers > API keyssection. Remember that the keys for test and live mode are different.- Stripe Webhook Secret
Determines the signing secret (
whsec_...) generated by Stripe for the webhook that informs Foto.Guru about the payment status.
Settings in the Stripe account
For the order status to change automatically after payment, in the Stripe panel (Developers > Webhooks, the so-called Stripe Workbench)
you need to add a new webhook with the address that is displayed in Foto.Guru after selecting the Stripe operator:
https://app.foto.guru/gateways/stripe_gateway/callback
The following events must be enabled for the webhook:
checkout.session.completedcheckout.session.async_payment_succeededcheckout.session.async_payment_failed
After saving the webhook, Stripe will generate a secret (whsec_...), which should be copied into the Stripe Webhook Secret field.