#penque_error
1 messages ¡ Page 1 of 1 (latest)
đ 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.
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.
- penque_code, 18 hours ago, 73 messages
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?
acct_1FCmYQEwdsOfa2mF
I see a payment failed
and a charges and paymens are paused message
evt_1PgYpBEwdsOfa2mFDdf5mh31
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)
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?
Sure, what for?
Trying to understand this error from ~5 mins ago? https://dashboard.stripe.com/test/logs/req_TTvZqhZOsGjILi
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
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
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?
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
Can you send me your Stripe.js code that makes those calls?
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
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
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?
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
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
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?
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
Is this in your Stripe dashboard or somewhere else?
it is in our stripe dashboard
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
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?
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?
ok that worked
so I guess you have a bug here then
all 3 show as CB but they are not
Sounds good, will file feedback on that