- Issue created by @marchuk.vitaliy
- Merge request !129Issue #3477028: Stripe Express Checkout Element Integration. โ (Open) created by Unnamed author
- ๐จ๐ฆCanada redsky
We've applied this as a patch and tested, it work great. We're deploying it to a production site tomorrow. Not sure if you want to call that "Reviewed and tested by the community or not".
Thanks!
niharika.s โ changed the visibility of the branch 3477028-stripe-express-checkout to hidden.
- ๐ฉ๐ชGermany Anybody Porta Westfalica
Whao, super nice to see this, really looking forward to the express functionality, this will be huge! Thank you!
- ๐ฉ๐ชGermany Anybody Porta Westfalica
anybody โ changed the visibility of the branch 3477028-stripe-express-checkout to active.
- ๐ฉ๐ชGermany Anybody Porta Westfalica
anybody โ changed the visibility of the branch 8.x-1.x to hidden.
- ๐ฉ๐ชGermany Anybody Porta Westfalica
Any further plans here @vmarchuk I think this is a super important feature. It's assigned to you currently, so nobody else will work on it so far.
- ๐บ๐ธUnited States rszrama
Does this patch currently reset things properly when someone exits the Express Checkout Element and goes through normal checkout to pay via the Payment Element? We're getting reports from production usage that someone exiting one path and going to the other causes data loss.
- ๐ฉ๐ชGermany Anybody Porta Westfalica
Any feedback or plan to share @vmarchuk?
- ๐บ๐ฆUkraine marchuk.vitaliy Rivne, UA
@anybody
We're currently working on this and want to launch it soon. - ๐ฉ๐ชGermany Anybody Porta Westfalica
@vmarchuk thanks for the feedback, that's great news! ๐ Let us and @rszrama know when it's ready for review by the community.
- Merge request !163Issue #3477028: Add patch compatible with verson 1.3. โ (Open) created by Unnamed author
- ๐บ๐ฆUkraine marchuk.vitaliy Rivne, UA
Added a patch for compatibility with version 1.3.
- ๐ฉ๐ชGermany Anybody Porta Westfalica
@vmarchuk, @rszrama is there work going on in the background on this issue or any further plan or should we simply review & test it and send feedback as-is?
Thank you! :)
- ๐บ๐ธUnited States TomTech
@anybody,
This is already being used on production sites.
We are in final testing before committing. (We generally try to test in different use cases/scenarios before committing, especially a larger feature add like this.)
Found some minor issues during recent testing that @vmarchuk has since addressed.
If you have any issues/feedback, please provide! (Note that, depending on the issue, we will likely still commit and tag a release, then follow up in a future commit/release.)
- ๐ฉ๐ชGermany Anybody Porta Westfalica
Cool, thank you @tomtech! Then we'll also try it now! That sounds amazing, very much looking forward to the official release!
- ๐ฉ๐ชGermany Anybody Porta Westfalica
Hi, we just tried the Stripe Express Checkout Element and these are our observations:
The wrappers are correctly placed on the cart page:
<div id="payment-errors"></div><div id="stripe-express-checkout-element" data-drupal-selector="edit-stripe-express-checkout-element"></div>
The JavaScript initializes the Express Checkout within the element:
<div id="stripe-express-checkout-element" data-drupal-selector="edit-stripe-express-checkout-element" data-once="stripe-processed" class="StripeElement"> <div class="__PrivateStripeElement" style="margin: -4px 0px !important; padding: 0px !important; border: medium !important; display: block !important; background: transparent !important; position: relative !important; opacity: 1 !important; transition: height 0.35s !important;"> <iframe name="__privateStripeFrame3093" frameborder="0" allowtransparency="true" scrolling="no" role="presentation" src="https://js.stripe.com/v3/elements-inner-express-checkout-with-shared-39bb4efb86b60c9971566f493d873828.html#__shared_params__[version]=v3&wait=false&rtl=false&publicOptions[paymentMethods][applePay]=never&publicOptions[paymentMethods][googlePay]=never&publicOptions[paymentMethods][amazonPay]=never&elementsInitSource=stripe.elements&componentName=expressCheckout&keyMode=live&apiKey=pxx&referrer=https%3A%2F%2Fwww.example.com%2Fcart%3FWDEBUG&controllerId=__privateStripeController3091" title="Sicherer Rahmen fรผr schnelle Bezahlvorgรคnge" style="border: 0px !important; margin: -4px; padding: 0px !important; width: calc(100% + 8px); min-width: 100% !important; overflow: hidden !important; display: block !important; user-select: none !important; transform: translate(0px) !important; color-scheme: light only !important; height: 80px; transition: height 0.35s, opacity 0.4s 0.1s;"></iframe> </div> </div>
But the iframe is empty (white) and shows no payment methods.
So either I'm doing something wrong or miss something. Maybe it needs additional documentation for the setup?
Because of https://docs.stripe.com/elements/express-checkout-element#supported-brow... I tried it in Firefox and Chrome as logged-in user.
Maybe other users will run into similar issues in the future, so I hope my comment helps.
- ๐บ๐ฆUkraine marchuk.vitaliy Rivne, UA
@anybody
You can try to test it here https://express-checkout-ttkizeq-gugct5y3vw43w.us-2.platformsh.site/ (this is our demo environment). If you see buttons, it means something is wrong with your environment settings.
There are many reasons why buttons may not be showing: Stripe configurations, browser, no wallet for the account, etc.
See a screenshot of what I see here: https://express-checkout-ttkizeq-gugct5y3vw43w.us-2.platformsh.site/