-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can you provide a full example code with Payment Elements with create a payment intent first (client secret ..) #14
Comments
Hi, As a start point you can add vue-stripe-js/examples/CardOnly.vue Line 10 in 92bb1c9
|
Also we need a full payment element guide for this.. like card example...thnks |
|
https://stripe.com/docs/payments/accept-a-payment?ui=elements I'm gonna provide a full example, which requires stripe account and payment intent (server-side), but really tight on time right now Basically, you need |
@softbeehive If you wanna assign this to me I can probably submit a PR with an example for using Payment Elements this weekend. |
@yashBhosale you are welcome to submit a PR at any time Here is some guidance:
|
does anyone have a working example with payment intent?? |
Folks this is a cool package but also really confusing. Can anyone help provide a full example of how one can submit a payment to stripe and redirect to another page afterwards? @mattvb91 did you figure it out? Thanks so much. Best, Newb |
Payment intent requires server-side code that depends on the language of your choice. I can totally see the value of having comprehensive guide on how to do that. And I can see why people struggle with its complexity. But I realize this is outside of scope of this package, which has a single goal: integrate stripe.js with vue component lifecycle. The reason I didn't make type="payment" the default is that it requires extra work. I suggest asking Stripe for the vue guide, they have resources and capacity to offer it. Community projects like this receive little to no support and I'm not first to say this but this is an uncomfortable truth about open-source. If someone is willing to invest time + energy and make the guide centered around vue integration of the payment element, I'm happy to link it in readme. I hope it explains the situation. |
No description provided.
The text was updated successfully, but these errors were encountered: