#rigo74_api

1 messages ยท Page 1 of 1 (latest)

mint pebbleBOT
#

๐Ÿ‘‹ 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/1234490151783239802

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

ocean houndBOT
whole rain
#

Hi ๐Ÿ‘‹ what is the error that you're encountering?

#

Do you have the ID of a confirmation request you made that returned that error?

finite swan
#

the error message in the stripe dashboard says that our account is not supporting paypal payments, but we enabled it

#

here is the error message

#

and here are the payments methods we enabled

#

we are in test mode

#

i can share request and response from stripe dashboard and relative logs

whole rain
#

Yes, please share the request ID, it's hard for me to get my bearings otherwise. I'd expect the error about your account not supporting PayPal to be thrown when you try to create that Payment Intent rather than when you tried to confirm it. So I'd like to take a closer look.

finite swan
#

the request id is req_TNVlXVW114NIHz

#

the request body is
{
"payment_method_data": {
"muid": "81d6bd83-f752-4f59-8c3a-e1ae2f46513da4ce6a",
"type": "paypal",
"sid": "33900370-96ba-4418-9baf-0978ce5c65961f7e4d",
"guid": "697e42a5-3e1f-4b3f-99bf-8a0bf198d83406069e",
"payment_user_agent": "stripe-android/20.37.4;PaymentLauncher"
},
"client_secret": "",
"return_url": "stripesdk://payment_return_url/----",
"use_stripe_sdk": "true",
"expand": [
"payment_method"
]
}

#

and the response body is
{
"error": {
"code": "payment_intent_invalid_parameter",
"doc_url": "https://stripe.com/docs/error-codes/payment-intent-invalid-parameter",
"message": "Il tuo account Stripe non supporta i pagamenti Connect con PayPal. Se devi accettare PayPal per i pagamenti Connect, contattaci tramite la pagina https://support.stripe.com.",
"payment_intent": {
"id": "pi_3PAqjwCBil1p1IK31LjalaYS",
"object": "payment_intent",
"amount": 9900,
"amount_details": {
"tip": {
}
},
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"client_secret": "",
"confirmation_method": "automatic",
"created": 1714383796,
"currency": "eur",
"description": null,
"last_payment_error": null,
"livemode": false,
"next_action": null,
"payment_method": "pm_1PAr46CBil1p1IK3y4VUukwP",
"payment_method_configuration_details": null,
"payment_method_types": [
"card",
"paypal"
],
"processing": null,
"receipt_email": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"status": "requires_confirmation"
},
"request_log_url": "https://dashboard.stripe.com/test/logs/req_TNVlXVW114NIHz?t=1714385046",
"type": "invalid_request_error"
}
}

whole rain
#

Ah, this involves Connect, I see. The error seems to be specifically saying that you can't process PayPal payments for Connect scenarios, and that you should contact our Support team if that is something you need to be able to do. As indicated in that message, our Support team is available here:
https://support.stripe.com/?contact=true

finite swan
#

yes we are using connect to better handle merchants and customers

#

i contacted the support before and we didn't found a solution so i opened this thread here

whole rain
#

It's not something we can enable for you here. It has to be enabled by our Support team, you'll need to reach back out to them.

finite swan
#

ok thank you very much ๐Ÿ™‚