Untitled
unknown
plain_text
4 years ago
415 B
10
Indexable
# Set the default payment method on the customer
stripe.Customer.modify(
data['customerId'],
invoice_settings={
'default_payment_method': data['paymentMethodId'],
},
name = data['name'],
phone = data['phone'],
address = {
'line1': data['address'],
'country': 'ES'
}
)Editor is loading...