Open RATIU5 opened 3 days ago
thanks for reporting, Ill take a look asap
Thanks! I tried implementing elements using plain JS/HTML and it worked fine. Also for more information, I'm using Astro for SSR and astro islands. Not sure if that has any effect on this. I will try to reproduce in Stackblitz shortly...
Update: I think this may be an issue on my end on how I setup my backend logic. I believe I'm passing in the wrong type of secret. I will try to get it working with this in mind. I will also update here if it fails.
Using the example that was provided, I received the following error upon checkout.
I logged the result of my client secret, and it logged successfully. I even tried hard-coding in the client secret value, and I still get the error.
Refer to the example in the README for the code. The versions that I'm using: