#alexgpeppe

1 messages · Page 1 of 1 (latest)

sleek wedgeBOT
west whale
#

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?

lyric sinew
west whale
#

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?

sleek wedgeBOT
lyric sinew
#

Express Checkout Element supports only one-click payment button (paypal, apple pay, google pay...)

west whale
#

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?

lyric sinew
west whale
shell pier
#

👋 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

west whale
#

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?

shell pier
#

what can be done?

#

I'm not sure I understand what you're trying to achieve

west whale
#

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?

shell pier
#

what is the error exactly?

sleek wedgeBOT
west whale
fervent dew
#

this isn't supported for paypal

#

only the other pm's

#

so you'll need to disable it if wanting to accept paypal