Allows customers sign up for recurring and one-time payments with Stripe, perfect for orders, donations, subscriptions, and events. Create simple payment forms in seconds easily without coding. For Craft CMS
Hello,
I'm using the twig checkout tag to redirect the user to the stripe checkout page like shown in the docs:
{# The price id could be a One-Time or Recurring price #}
{% set items = [
{
"price": "price_1PBtYFIJ1OKCMad6Ej3xwUxS",
"quantity": 1
}
]
%}
{% set checkoutSession = craft.enupalStripe.checkout(items) %}
It works so far but the stripe checkout page looks different than the checkout page which I access over the stripe payment link.
Enupal:
Stripe payment link:
The custom fields are missing and the payment method link must not be active. Can you explain me how I can get the same checkout page? I not found it in the docs or I don't get it.
Thanks in advance!
Steps to reproduce
Use twig checkout tag and load stripe checkout page
Use direct payment link from stripe and load checkout page
Description
Hello, I'm using the twig checkout tag to redirect the user to the stripe checkout page like shown in the docs:
It works so far but the stripe checkout page looks different than the checkout page which I access over the stripe payment link.
Enupal:
Stripe payment link:
The custom fields are missing and the payment method link must not be active. Can you explain me how I can get the same checkout page? I not found it in the docs or I don't get it.
Thanks in advance!
Steps to reproduce
Additional info
Solved with the
beforeCreateSession
event like mentioned here: https://github.com/enupal/stripe/issues/335#issuecomment-1380839997