#Ferb
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
You need to send the key with an empty value: default_method: ''
so customer.modify(user.stripe_cx_customer_id, default_method='')
No, I understood you want to delete the key from metadata no?
Sorry, if I misunderstood.
yes
customer.metadata['default_method'] = ''
doesnt work
this doesnt work either
customer.modify(
user.stripe_cx_customer_id,
metadata={'default_method': ''},
)
@forest gazelle
Could you please share the Request ID req_xxx? https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_MD7sIh8Y7rXUAQ
There's no default_method key in the metadata now.
There seems to be multiple calls to update the Customer that add this key back.
Are you sure you don't have a background job that does this?
Happy to help!