#penque_error

1 messages ¡ Page 1 of 1 (latest)

sullen treeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1266140360959197235

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

twilit hornetBOT
#

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.

fleet summit
#

Hello, do you have an example of a payment intent id (pi_123) or a request ID (req_123) where you got this decline?

#

And what kind of declines are you getting here?

bleak wolf
#

acct_1FCmYQEwdsOfa2mF

#

I see a payment failed

#

and a charges and paymens are paused message

#

evt_1PgYpBEwdsOfa2mFDdf5mh31

fleet summit
#

That is a customer.created event and I am having trouble seeing declines on that account

#

Can you send me the ID of a payment intent that saw this kind of decline? (pi_1234)

bleak wolf
#

oh sorry, I was passing a prod plan id instead of a test one

#

now it worked

#

thank you

#

are you able to check this record cus_QXeRUgVTWOHr2k?

fleet summit
#

Sure, what for?

bleak wolf
#

I am changing the card to use a different network

#

but the changes don't seem to take

#

did a CB first

#

and then changed for mastercard but I still see the CB on the credit cards

fleet summit
#

I am having trouble finding the exact request that this happened for. Can you show me what you are doing in code to specify mastercard here?

bleak wolf
#

sure, we are using stripe.js so we don't own the implementation but I can see in the logs on stripe that for the first request it gets this:

  "referrer": "https://appexchange.oaeappxqa.com",
  "key": "pk_test_*********************************************************************************************YeoFeE",
  "card": {
    "number": "************1001",
    "address_line2": "",
    "exp_month": "12",
    "address_country": "FR",
    "address_state": "Pa",
    "cvc": "***",
    "exp_year": "25",
    "networks": {
      "preferred": "cartes_bancaires"
    },
    "address_line1": "Champs elisees",
    "address_zip": "12345",
    "address_city": "Paris",
    "name": "Bruno Montaner sbx"
  },
  "payment_user_agent": "stripe.js/6e8fd3e975; stripe-js-v3/6e8fd3e975; split-card-element",
  "muid": "ea7ea31e-d47a-4bfe-9a46-29c5ab26c53fcf509f",
  "pasted_fields": "number",
  "sid": "15e5941a-1cca-4efb-855b-4d5ee4efacdf3c612c",
  "guid": "7d865bee-f912-42f5-8dba-74db6eb3e02235bf7a",
  "time_on_page": "56381",
  "radar_options": {
    "hcaptcha_token": "20000000-aaaa-bbbb-cccc-000000000002"
  }
}
#

you see the: "preferred": "cartes_bancaires"

#

and then for the last one it sends:

  "referrer": "https://appexchange.oaeappxqa.com",
  "key": "pk_test_*********************************************************************************************YeoFeE",
  "card": {
    "number": "************1001",
    "address_line2": "",
    "exp_month": "12",
    "address_country": "FR",
    "address_state": "Pa",
    "cvc": "***",
    "exp_year": "24",
    "networks": {
      "preferred": "mastercard"
    },
    "address_line1": "Champs elisees",
    "address_zip": "12345",
    "address_city": "Paris",
    "name": "Bruno Montaner sbx"
  },
  "payment_user_agent": "stripe.js/fe1a2b13cc; stripe-js-v3/fe1a2b13cc; split-card-element",
  "muid": "ea7ea31e-d47a-4bfe-9a46-29c5ab26c53fcf509f",
  "pasted_fields": "number",
  "sid": "dd7f6bf8-3c14-4406-abad-2df37b08ffce24b7cb",
  "guid": "229bc82c-14a7-44a3-b93d-62f07890e7539abcc9",
  "time_on_page": "155070",
  "radar_options": {
    "hcaptcha_token": "20000000-aaaa-bbbb-cccc-000000000002"
  }
}```
#

"preferred": "mastercard"

#

but it seems that the CC is still using cartes bancaries for the mastercard one

fleet summit
#

Can you send me your Stripe.js code that makes those calls?

bleak wolf
#

we just have the stripe js form in an html not sure what you are asking me

#

stripe.js is something you provided us with

fleet summit
#

Right but your code initializes a Stripe object and makes calls with it like createToken

#

I'm trying to understand what your js code is actually doing with Stripe.js

bleak wolf
#

so you are saying that those JSONs that stripe is getting are not right?

#

looking at it the

      "preferred": "mastercard"
    },```
#

seems like it should do it

#

is there anything else in the JSON that needs to be added?

fleet summit
#

No, I honestly don't understand what your integration is doing and am still trying to figure out the basics of what you are doing stripe-wise

bleak wolf
#

oh I thought you could read the previus thread I had with somebody from your team yesterday

#

we are using connect to charge customers on behalf of partners on our markeplace

#

I just added the prefered network part to the element createCard so it would allow for customers to select carte bancaire as network

#

the update seems to be working fine

#

but I was testing if editing the credit card for a recurring changes would allow to move from carte bancarie to mastercard or visa and it doesn't seem to be working

fleet summit
#

We can read through previous threads but usually it is still best to summarize where you currently are. It is rare for someone on this server to have enough time to read through a 73 message thread so we often ask questions about the specific information that can help us get up to speed.

#

Taking a step back, when you said

and then changed for mastercard but I still see the CB on the credit cards
Where exactly are you seeing CB when you don't think it should be there? Is this a part of an object that you are getting back from an API call? For example are you specifying mastercard when actually confirming some kind of intent and you see the brand is CB on the resulting Charge?

bleak wolf
#

when I go to cus_QXeRUgVTWOHr2k

#

I see 3 credit cards and all of them list CB / mastercard or CB / Visa

#

and the icon is for CB

fleet summit
#

Is this in your Stripe dashboard or somewhere else?

bleak wolf
#

it is in our stripe dashboard

fleet summit
#

Gotcha, I do see mastercard listed as the preferred network for those cards when I look at them. I think our dashboard may just show CB when it is available. I don't see any successful payments on that specific customer, but I suspect if you charged one of those cards, the network would show up as mastercard on the actual Charge object

#

Can you try charging one of those cards in test mode to double check that? I can file feedback with our team that owns that dashboard page either way, I can definitely see how them showing CB seems like it implies that CB is the preferred network

bleak wolf
#

it seems like we cannot create charge objs there is a warning message at the top of the page saying that we should contact support

#

can you enable it for us?

fleet summit
#

You should still be able to make test mode charges I think. On the page for the customer do you see a plus button in the upper right of the "Payments" section of their page?

bleak wolf
#

ok that worked

#

so I guess you have a bug here then

#

all 3 show as CB but they are not

sullen treeBOT
fleet summit
#

Sounds good, will file feedback on that