solidusio / solidus_stripe

💳 Integrate Solidus with Stripe
https://stripe.com
BSD 3-Clause "New" or "Revised" License
37 stars 61 forks source link

Elements and Intents #53

Open cyberious opened 4 years ago

cyberious commented 4 years ago

When attempting to use V3 Elements and V3 Intents payment posts successfully but than fails with the attachment

Request: POST /v1/payment_methods/tok_1GezloGb1nS7u12v8onl6dvqt/attach

Request Body

{
  "customer": "cus_HQQdaU5eAZWzcK"
}

Resposne

{
  "error": {
    "message": "A token may not be passed in as a PaymentMethod. Instead, create a PaymentMethod or convert your token to a PaymentMethod by setting the `card[token]` parameter to tok_1GezloGb1nS7u12v8onl6dvqt.",
    "param": "payment_method",
    "type": "invalid_request_error"
  }
}
Screen Shot 2020-05-05 at 9 22 22 AM
kennyadsl commented 4 years ago

Hey @cyberious, can you please explain better what are you trying to do? is the attach API call part of what is provided by this plugin?

spaghetticode commented 4 years ago

@cyberious do you have any update on this issue?

aldesantis commented 4 years ago

FYI I was able to confirm this problem too.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions.