Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Fastest way to complete Stripe JS element checkout?

Are there any resources or places I can look for ways to optimize for fast checkouts? I can't fully automate the process currently and I'm not sure what the best ways are to actually optimize checkouts. In terms of ping and connection I haven't really noticed a significant difference and I don't know enough about how stripe and vendors process/confirm purchases to even really know where to begin to look into this.
[Image: OOQUB9V.png]
I use Stripe at work all of the time so I'm pretty familiar with how it works. Ideally you would create a custom form with all the credit card fields, then push your data into the inputs, submit to get the token, pass token to your server, but I don't think this is possible anymore. They make you use their card-element iframe which has a bunch of security on it, mainly not letting you programmatically set the values for the inputs due to CORS issues since the actual credit card form is hosted on the stripe domain.

I don't know exactly what you're trying to do, but if you want to PM me with more specifics, I can maybe point you in the a better direction.
(Mar 11, 2024 11:25 PM)notagh0st Wrote:  I use Stripe at work all of the time so I'm pretty familiar with how it works. Ideally you would create a custom form with all the credit card fields, then push your data into the inputs, submit to get the token, pass token to your server, but I don't think this is possible anymore. They make you use their card-element iframe which has a bunch of security on it, mainly not letting you programmatically set the values for the inputs due to CORS issues since the actual credit card form is hosted on the stripe domain.

I don't know exactly what you're trying to do, but if you want to PM me with more specifics, I can maybe point you in the a better direction.

Appreciate the offer! I sent you a message with some more details.
[Image: OOQUB9V.png]
(Mar 12, 2024 05:35 AM)Warbiest Wrote:  Appreciate the offer! I sent you a message with some more details.

Beyond my scope but, you could just use some webdriver so it's actually automated in a browser.


Laravel Dusk - PHP
https://laravel.com/docs/11.x/dusk#introduction

Puppeteer - Node.js
https://pptr.dev/

Plenty of options out there though.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by RonnyJan 17, 2021 06:06 AM 6 316 Jan 17, 2021 06:06 AM
Last Post: FlashyBeach
by Money-Jun 2, 2019 07:06 AM 1 136 Jun 2, 2019 07:06 AM
Last Post: Nachfolger
by ReDeX2587Oct 31, 2015 12:59 PM 2 326 Oct 31, 2015 12:59 PM
Last Post: pulamika00