Closed kr05 closed 1 year ago
+1, this would be ideal
+1, why is this not the default? D:
+1, id would definitely make a lot more sense and there appears to be several issues related to the usability of payment source arrays. Am flagging this as an enhancement.
I am trying to update a customer's payment source and according to the tutorial we have to use the following method:
My questions is...can we update a payment source using its ID instead of the array index? I tried passing the ID into the get method, but it throws an error. My second attempt was to store the index when creating the payment source, but unfortunately the index is not returned when creating a payment source using the createPaymentSource method. I would appreciate any pointers and suggestions, thanks!