#asdfghi
1 messages · Page 1 of 1 (latest)
Hello! Have you read any of our docs on how to accept payments yet? Based on what you've described it sounds like you want to use something like Payment Element
Been stuck on this issue for a few weeks now. I can't get this to work. I'm using Ruby on Rails for the backend. I've contacted support in the past, and tried to solve this issue with the docs, but I have not made any good progress. Keep in mind that the code isn't exactly updated as I made revisions, so I don't have a return URL but I'm unsure why it isn't confirming the payment. I will link the code snippets here using the imgur link.
Can you give me specifics on what you haven't been able to get working? Are you hitting a particular error message?
The PaymentIntent requires a payment method.
Yeah that looks expected because you haven't actually confirmed the Payment Intent w/ a Payment Method - what docs have you been following?
Also taking a quick look at your code it looks like you're using a mix of approaches (which is probably contributing to why it's not workign as expected) - I see you're using both Card element AND Payment Element, which shouldn't be necessary
@dull flax Do you still need help?