#dannyboy
1 messages · Page 1 of 1 (latest)
Hi
what is your ask ?
Hello. So we are collecting card details from customer then creating PaymentMethod object. and we charge the card TWICE.. one per managed-account.
Our flow works 99% of the time but we stumble upon an issue wherein the 1st charge is successful but the 2nd one isn't due to "CVC check pass"
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
so the question is. Why?
It looks like you have a Radar rule that is blocking the second payment
Block if :cvc_check: = 'fail'
CVC passed when we create the PaymentMethod.. that's the 1st step before we charge 1st time
so it doesn't make sense.... hmmm
so this is the parameter of 1st request.
"confirm": "true",
"description": "MEXMT Reg. fee: Alberto Valdez in Adulto Male Clase A -67kg 1er Torneo Jovenes Promesas del Muaythai 1er Torneo Jovenes Promesas del Muaythai",
"metadata": {
"proxy_type": "division_order"
},
"application_fee_amount": "4546",
"statement_descriptor": "MEXICO MUAYTHAI",
"currency": "MXN",
"customer": "cus_Kb6okwY6qrZ2Ad",
"transfer_data": {
"destination": "acct_1BWbBzKCD2H8w25e"
},
"payment_method": "pm_1MaVJQFJY7de0U6VoxXRUR2K",
"on_behalf_of": "acct_1BWbBzKCD2H8w25e",
"confirmation_method": "manual",
"amount": "69546",
"save_payment_method": "true"
}```
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
2/11/23, 9:29:10 PM
after 5 seconds.. 2nd request comes in
"confirm": "true",
"description": "MEXMT Member fee: Alberto Valdez",
"application_fee_amount": "17421",
"metadata": {
"proxy_type": "membership_order"
},
"statement_descriptor": "MEXICO MUAYTHAI",
"currency": "MXN",
"customer": "cus_Kb6okwY6qrZ2Ad",
"transfer_data": {
"destination": "acct_1BWbBzKCD2H8w25e"
},
"payment_method": "pm_1MaVJQFJY7de0U6VoxXRUR2K",
"on_behalf_of": "acct_1BWbBzKCD2H8w25e",
"confirmation_method": "manual",
"save_payment_method": "true",
"amount": "32421"
}```
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
but it's failed?
we didn't update the PaymentMethod during those 5 seconds interval
as you can see, save_payment_method is true
Sorry, but I don't know a lot of Radar rules, but here for clear the radar rule you set, blocked the second Payment Attempts, I inivite to reach out to Strip Supprot for better understanding of Stripe Radar rules:
https://support.stripe.com/contact/email?topic=radar
We are in the same Team, for Radar rules we don't have a big knowledge about it. Did you tried to delete that Radar rule and do the test again ?
no we don't want to delete that rule
CVC check should be there
what's wrong is that it's reporting incorrect eventhough it was used already
as you can see in the 1st transaction, CVC check passed!
so what changed?
There was a cvc check failure for this payment intent:
check this log request:
https://dashboard.stripe.com/logs/req_G6JQO2hGfOWlYR
When you check the payment_intent failure event, same it mentions that an incorrect cvc was used:
https://dashboard.stripe.com/events/evt_3MaVJXFJY7de0U6V1VjNuhUW
this is the PaymentMethod object right?
like i said, the process is ... collect payment information first.. card # , cvc expirations...
Then if all good, process 1st transaction
Then process 2nd transaction
Payment Information is success
1st transaction is success.. using PaymentMethod pm_1MaVJQFJY7de0U6VoxXRUR2K
2nd transaction fails.. using the same PaymentMethod pm_1MaVJQFJY7de0U6VoxXRUR2K
THere's no way to update PaymentMethod CVC so...
https://stripe.com/docs/api/payment_methods/update
CVC used in 1st transaction is same.. Why does it pass if it's incorrect?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
btw.. we are using Stripe.js to create PaymentMethod..
stripe.createPaymentMethod
elements = stripe.elements()
card = elements.create('card', style: style)
card.mount '#card-element'```
Yes, but here you have the Radar rule which is blocking this payment.
T___T
why does the radar rule passed in the 1st transaction?
can't you see my point?
one payment_method, two payment intent
1st payment intent success
2nd isn't
when you check the log:
https://dashboard.stripe.com/logs/req_G6JQO2hGfOWlYR
you can see the outcome.seller_message message:
You requested that Stripe block payments (like this one) for which the customer-entered CVC code does not match the code on file with the card-issuing bank.
That's why I invited you to reach out to support in order to check with them your radar rules. here we don't have deep knowledge of it.
ok thanks
Welcome!
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!