#psyche
1 messages · Page 1 of 1 (latest)
hiii
Do you have a request ID for each of the card attempts?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
this is the error message
thank you for help so far!
is it safe to share request id publicly?
the app is in live mode @autumn shell
Yes, request IDs are safe to share publicly
req_wAJ59SMfn8gGo5
req_p80FoiDoB25Fbp
req_NkO6NF5KDb9BEq
req_OMqYfzfq5PkxZg
req_RTC6BxQIHE63LQ
It seems pretty obvious that the cards domiciled in Mexico, where pesos are their currency. Are you wondering how to create a payment page in a different currency? Or do you have another question?
Ahh, okay, that makes sense. In that case, could you, please, tell me how I can make a payment with other currencies, or maybe even all currencies?
Can I make my app accept all currencies?
How are you creating your Checkout Session currently? Via the API? Or via the Dashboard?
with python code,
checkout_session = stripe.checkout.Session.create(
client_reference_id=req.user.id,
metadata={"rank": self.PRICE_ID_TO_RANK[price_id]},
success_url="https://WEBSITE.com/api/v1/stripe/success?session_id={CHECKOUT_SESSION_ID}",
cancel_url="https://WEBSITE.com/api/v1/stripe/cancel",
payment_method_types=["card"],
mode="subscription",
line_items=[{
"price": price_id,
"quantity": 1,
}]
)
Okay, in that case I would recommend looking at these docs: https://stripe.com/docs/payments/checkout/present-local-currencies
They allow you to present in whatever currency is local to the customer. As for presenting in a non-local currency or explicitely declaring a currency for the Checkout Session, you do that with the currency field: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-currency