#issambd - no payment method attached

1 messages · Page 1 of 1 (latest)

twin widget
restive echo
#

This is the customer ID : cus_KxU10OcsKgg1uF

twin widget
#

Can you provide a request ID (req_123 ) from a time you saw that error?

restive echo
#

req_9L9GbXTo6zIp5U

#

I get the same error when trying to detach the pm : req_IYBetLr0gnhR33

twin widget
#

So that customer has payment methods but one needs to be specified as the default.

#

You can do that via the dashboard or the API, one sec for API specifics

restive echo
#

aha, lemme check it out quickly

#

is making the pm default in the subscription object not enough?

twin widget
#

Setting it on the subscription will only set it for that subscription. It won't propagate that to the customer

#

You can have multiple subscriptions with different default payment methods

restive echo
#

I understand, but we have one subscription per customer, and we attach and detatch pms that one subscription object

#

I will update the integration so that pms are attached to the customer instead of the subscription and try again

restive echo
#

I just updated the code, I still have the same problem but I think I know why.

#

is there a way to stop a local webhook listener from the dashboard?

twin widget
#

Can you provide the latest request ID?

#

Unsure, let me check on the webhook part

restive echo
#

The issue is a fellow team dev let a local webhook listener running while having an outdated webhook code, I know this is my problem but I kindely appreciate your help stopping the listener remotely as I can't reach my coworker at the moment

twin widget
#

Seeing what we can do?

restive echo
#

Actually my coworker just took care of it, thank you tho