Missed setup_future_usage for intent array parameters

Created on 28 July 2024, 4 months ago
Updated 12 August 2024, 3 months ago

There is a typo in assigning intent attributes, which prevents setting the "setup_future_usage" parameter during intent creation. This usually causes the error:

The provided PaymentMethod was previously used with a PaymentIntent without Customer attachment, shared with a connected account without Customer attachment, or was detached from a Customer. It may not be used again. To use a PaymentMethod multiple times, you must attach it to a Customer first.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Payment Element

Created by

πŸ‡ΊπŸ‡¦Ukraine cosolom

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024