This course is archived!
This tutorial uses an older version of Symfony of the stripe-php SDK. The majority of the concepts are still valid, though there *are* differences. We've done our best to add notes & comments that describe these changes.
07.
Stripe Invoices
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
5 Comments
hi ryan i use stripe checkout and it wooeks fine on desktop but on mobile the data amount is not showing can you help please
Yo Thierno!
Well, that is weird - we've had some bad luck lately :). How is your checkout form built? Did you use an embedded (non-customized) checkout form from Stripe like we did originally in this tutorial (https://knpuniversity.com/s... or a custom checkout form like we do later https://knpuniversity.com/s... And what exactly doesn't show up (you said "data amount" - where *should* that be printing)?
Let me know - I'm sure we can hunt this down.
Cheers!
Thx Ryan the probleme was that my pay button had a strong tag in it so the event was propagated to the strong tag and that tag has no id to get the amount THX
Ahh, that makes sense. I wonder if
e.currentTargetwould have gotten the correct element? I think it might have :). Anyways, glad you sorted it out!Cheers!
i didnt even know about the e.currentTarget but it seems to be a good alternatif
Thx
"Houston: no signs of life"
Start the conversation!