#alexgpeppe
1 messages · Page 1 of 1 (latest)
It seems that I got the list through the error that I got after adding a random string:
IntegrationError: Invalid value for elements(): paymentMethodTypes.1 should be one of the following strings: amazon_pay, alipay, alma, affirm, afterpay_clearpay, au_becs_debit, acss_debit, bacs_debit, bancontact, blik, boleto, card, cashapp, customer_balance, eps, fpx, giropay, grabpay, ideal, klarna, konbini, mobilepay, ng_market, nz_bank_account, oxxo, p24, pay_by_bank, paypal, sepa_debit, sofort, south_korea_market, kr_market, swish, three_d_secure, twint, upi, us_bank_account, wechat_pay, paynow, pix, promptpay, revolut_pay, netbanking, id_bank_transfer, link, demo_pay, zip. You specified: asd.
But in general, is there a specific place in the documentation where these values are listed?
Hi
Are you referring to Express Checkout Element or PaymentElement ? because there is no such an option when creating an Express Checkout Element
https://stripe.com/docs/js/elements_object/create_express_checkout_element#express_checkout_element_create-options-wallets
I am talking about the stripe express checkout element. So for this element I can choose the payment methods that I want to use only by enabling or disabling them in the dashboard?
Express Checkout Element supports only one-click payment button (paypal, apple pay, google pay...)
Yes, my purpose is to remove paypal because I need to save the payment method used and as far as I read in the documentation this does not work for paypal. In order to achieve that, do I have other ways than disabling paypal from dashboard?
You can save Paypal as a Payment method for future purchaes:
https://stripe.com/docs/payments/paypal/set-up-future-payments?platform=web&ui=API
I'm getting confused, sorry... In the documentation about the express checkout element I can read this:
Creating a PaymentMethod isn’t supported with PayPal.
https://stripe.com/docs/elements/express-checkout-element/accept-a-payment#create-pm
👋 taking over for my colleague. Let me catch up.
there are multiple integration paths, the one you're describing here is basically creating the Payment Method and use it mainly for server side confirmation
this is what isn't supported with Paypal
you should confirm the Paypal confirmation on the frontend
But can this be done when using the express checkout element? My understanding is that it can't, because we are talking about different flows, am I right?
Sorry, I'll try to be more clear. I'd like to use the express checkout element and save the payment method used by the user. I followed the indications in the page I linked previously (https://stripe.com/docs/elements/express-checkout-element/accept-a-payment), and it is works fine until I enable paypal. After enabling paypal, it doesn't work anymore, I get an error and the express checkout element does not appear in the page.
Based on your previous messages, now I'd like to understand: is there a way for me to have paypal enabled in the express checkout element and to save the payment method for future usages, both from link, apple pay, google pay and paypal?
what is the error exactly?
would you mind sharing the request ID that failed? 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.
I get this error in my html page. I think that the underlying request is https://dashboard.stripe.com/test/logs/req_R7ihLUM8pxr3dE, but I'm not sure.