#Asad
1 messages · Page 1 of 1 (latest)
Where did you add the payment methods? Can you share an example object ID? Which payment page and payment integration (Payment Element, Checkout Session... etc) are you referring here?
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 added those via this link
?
Thanks for waiting! Discord is busy now
Where did you expect to see these payment methods at?
Which integration type are you using?
i m using stripe checkout page
In your Checkout Session creation request https://dashboard.stripe.com/logs/req_7fWo1HkO7IZCjy, your system hard coded to accept card payment only:
payment_method_types: {
0: "card",
},
payment_method_types will override the settings in the Dashboard. I'd recommend removing payment_method_types , so that Checkout Session will then pick up the payment method configuration in the Dashboard
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
checkout_session = stripe.checkout.Session.create(
# new
client_reference_id=request.user.id if request.user.is_authenticated else None,
success_url="https://simplestudying.com/" + f'?redirect_page={redirect_page}',
cancel_url="https://simplestudying.com/",
# payment_method_types=['card','klarna'],
payment_method_types = { 0: "card", 1:"klarna", },
customer=request.user.customer_id,
mode=mode,
line_items=[
line_items
],
metadata=data,
),
this is not working
What is not working? Can you share the request ID (req_xxx)? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site 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.
req_7fWo1HkO7IZCjy
https://dashboard.stripe.com/logs/req_7fWo1HkO7IZCjy still shows payment_method_types as card only
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You should remove payment_method_type entirely
so how the diffreent payment methods will be selected?
The payment method options will be available based on your configuration in https://dashboard.stripe.com/settings/payment_methods
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
okay,let me try this