#dannyboy

1 messages · Page 1 of 1 (latest)

keen jackalBOT
rocky idol
#

Hi
what is your ask ?

strange void
#

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"

#

so the question is. Why?

rocky idol
#

It looks like you have a Radar rule that is blocking the second payment

#

Block if :cvc_check: = 'fail'

strange void
#

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"
}```
#

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"
}```
#

but it's failed?

#

we didn't update the PaymentMethod during those 5 seconds interval

#

as you can see, save_payment_method is true

rocky idol
#

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

strange void
#

can we get another support here?

#

like karllekno?

rocky idol
# strange void like karllekno?

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 ?

strange void
#

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?

rocky idol
strange void
#

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?

#

btw.. we are using Stripe.js to create PaymentMethod..

stripe.createPaymentMethod

#
    elements = stripe.elements()
    card = elements.create('card', style: style)
    card.mount '#card-element'```
rocky idol
#

Yes, but here you have the Radar rule which is blocking this payment.

strange void
#

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

rocky idol
#

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.

rocky idol
strange void
#

ok thanks

rocky idol
#

Welcome!

serene garden
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!