![]() |
|
Fastest way to complete Stripe JS element checkout? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Website Hacking (https://hackforums.net/forumdisplay.php?fid=43) +---- Thread: Fastest way to complete Stripe JS element checkout? (/showthread.php?tid=6265823) |
Fastest way to complete Stripe JS element checkout? - Warbiest - Mar 11, 2024 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. RE: Fastest way to complete Stripe JS element checkout? - notagh0st - Mar 11, 2024 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. RE: Fastest way to complete Stripe JS element checkout? - Warbiest - Mar 12, 2024 (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. Appreciate the offer! I sent you a message with some more details. RE: Fastest way to complete Stripe JS element checkout? - Fludems - Mar 12, 2024 (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. |