#vaxcin
1 messages · Page 1 of 1 (latest)
Seeing if there is a straightforward way to get a payment method id from that card like this
Oh ok maybe i am using the wrong wording?
The 0341 card also doesn't have an alias
Right ok wanted to confirm that
What would be the best way to change an existing test customer's payment method to the 0341 card?
I tried creating an automated test to create a new payment method with card numbers but do not want to 'enable raw card data APIs in test mode'
You could add via the dashboard
On their customer page
change an existing test customer's payment method
What do you mean by this
Is it the default for a subscription
i'm trying to test for a past due scenario
So first month has a valid card and then before the 2nd invoice a card that declines when charged is attached
Yeah i see i can add via dashboard but wondering how to do it via api for automation. But also without enabling raw card data in test mode if possible
Yes trying to change the subscription's default payment method
Not possible
understood
Since this is just a one off test, just go through your test flow to add the card and set as default
^Thru the dashboard right?
Sorry its not particularly a one off test I'm writing an event based process for every time a subscription becomes past_due. Expecting loads coming through this event
No I meant your payment integration
But if it's not 1-off then that's not feasible
But you can't automate this via api without also enabling raw card details
Yep gotcha ok that's what i wanted to confirm ty ty