solidus_stripe icon indicating copy to clipboard operation
solidus_stripe copied to clipboard

Elements and Intents

Open cyberious opened this issue 5 years ago • 4 comments

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

cyberious avatar May 05 '20 16:05 cyberious

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?

kennyadsl avatar May 12 '20 07:05 kennyadsl

@cyberious do you have any update on this issue?

spaghetticode avatar Jul 14 '20 07:07 spaghetticode

FYI I was able to confirm this problem too.

aldesantis avatar Jul 14 '20 08:07 aldesantis

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.

stale[bot] avatar Nov 11 '22 13:11 stale[bot]