#benk6763

1 messages · Page 1 of 1 (latest)

rapid ingotBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

molten oxide
#

hi! I could try, what is the context?

sonic coral
#

hi. We are trying to pass a decrypted Google Pay token to Stripe (DPAN, ECI+cryptogram) but the API request format we were advvised to use is failing

#

we are a platform and are PCI Level 1 certified by the way

molten oxide
#

that's a highly advanced flow to be honest so I would try to work with support on it

#

when you say it's failing though, what is the actual error

sonic coral
#

unfortunately Support arent able to answer why we are getting the error, sometimes we just get a generic Support response saying "go to XYZ link of the API docs" but that link doesn't contain the relevant iinformation (I believe this advanced flow is not publically documented)

#

req_m4Yebhx69y6bFh
Response body
{
"error": {
"code": "parameter_missing",
"doc_url": "https://stripe.com/docs/error-codes/parameter-missing",
"message": "Missing required param: payment_method_data[card][number].",
"param": "payment_method_data[card][number]",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_m4Yebhx69y6bFh?t=1701686585",
"type": "invalid_request_error"
}
}

Learn more about error codes and how to resolve them.

#

however, this is a DPAN token request, so the payment_method_data.card.number shouldn't be mandatory. Its the DPAN number which is being submitted

#

we were given this request API by Support:
curl -XPOST https://api.stripe.com/v1/payment_intents \

-u 'sk_...':
-d "amount"=100
-d "currency"=usd
-d "payment_method_types[]"=card
-d "confirm"=true
-d "payment_method_data[type]"=card
-d "payment_method_data[card][exp_month]"=01
-d "payment_method_data[card][exp_year]"=2024
-d "payment_method_data[card][last4]"=4242
-d "payment_method_data[card][network_token][number]"="{DPAN_HERE}"
-d "payment_method_data[card][network_token][exp_month]"=01
-d "payment_method_data[card][network_token][exp_year]"=2024
-d "payment_method_options[card][network_token][cryptogram]"="{CRYPTOGRAM}"
-d "payment_method_data[card][network_token][tokenization_method]"=google_pay_dpan
-d "payment_method_options[card][network_token][electronic_commerce_indicator]"=05

molten oxide
#

probably they gave you the instructions but didn't give your account acccess to the feature itself

#

if so they didn't actually give you access to the feature. Push back on support

sonic coral
#

you are correct I'm getting a 404

#

anything specific to ask for?

#

because I find it hard to deal with Stripe SUpport 😄

#

what's the name of the feature itself?

molten oxide
#

"Processing Google Pay decrypted tokens"

#

just say that your account needs access and should have been "gated" in.

sonic coral
#

ok cool

#

many thanks!!!!!!