#test9

1 messages · Page 1 of 1 (latest)

errant remnantBOT
broken garden
#

once i updated the payment method with some new expiry month , in resposne it shiuld be reflected but as seen uts not

#

Hi! Let me help you with this.

wise steppe
#

yeah

broken garden
#

Let me check

#

Could you please share the request ID req_xxx

wise steppe
#

{
"id": "pm_1MJvJ82eZvKYlo2CDk6NnGVU",
"object": "payment_method",
"billing_details": {
"address": {
"city": null,
"country": null,
"line1": null,
"line2": null,
"postal_code": null,
"state": null
},
"email": null,
"name": null,
"phone": null
},
"card": {
"brand": "mastercard",
"checks": {
"address_line1_check": null,
"address_postal_code_check": null,
"cvc_check": "pass"
},
"country": "US",
"exp_month": 8,
"exp_year": 2023,
"fingerprint": "7a9bk9ncM08SXfua",
"funding": "credit",
"generated_from": null,
"last4": "4444",
"networks": {
"available": [
"mastercard"
],
"preferred": null
},
"three_d_secure_usage": {
"supported": true
},
"wallet": null
},
"created": 1672217299,
"customer": "cus_4QFOF3xrvBT2nU",
"livemode": false,
"metadata": {
"order_id": "6735"
},
"type": "card"
}

broken garden
#

I am testing on my side and I am able to update the payment method without a problem.

#

I am trying to understand why you are not able to do the same

wise steppe
#

not ,its not

#

if i try metadata its working

#

if i try card expiry year via xml form its working

#

but if i try it by json its not wworking m i mean returning same resposne

broken garden
#

Try using Query Params instead of Raw Body

broken garden
wise steppe
#

raw json should work as i m using xml form header

#

osnt there a way to pass pure json body ?

#

instead of param

broken garden
#

No, Stripe only accepts query params.

wise steppe
#

ok

#

even for post body ?

#

coz if params used its called url encoded request right

broken garden
wise steppe
#

yes - how this request acts as post then ?

#

if all data is sent in url only then

broken garden
#

I am not sure I understand the question.

wise steppe
#

i suppose the xml form. is not url encoded

#

ie params not exposed in url publically

broken garden