#txx_developer

1 messages · Page 1 of 1 (latest)

little cryptBOT
noble ruin
#

👋 happy to help

warped zephyr
noble ruin
#

on that same page you have multiple integrations

warped zephyr
#

Ah ok, following this guide with cards it works correctly for me, but with paypal no: No such PaymentMethod: 'paypal'

noble ruin
#

did you follow the Get Started portion of the doc I sent you first?

warped zephyr
#

Yes, in Test Mode i have turn on the paypal...

noble ruin
#

yes

#

I'm pretty sure you'd have to turn it on in live mode

warped zephyr
#

Do I also have to enable it to run the tests?

tawny sorrel
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

warped zephyr
#

Thank you

tawny sorrel
#

Where you see the error.

warped zephyr
#

Yes: req_XR1q9fSQmqtP3n

tawny sorrel
#

However, I see you are using automatic_payment_methods already, that allows Stripe to choose the most appropriate payment method types for this PaymentIntent.

#

Is PayPal not showing on your page?

#

If it's enabled, you should see it when you use automatic_payment_methods

warped zephyr
#

Oh ok thanks! Currently I'm only working with the server part I don't have the front end part... But if I want to test a card payment I can use .setPaymentMethod("pm_card_visa"). But if I want to test paypal is there a way?

tawny sorrel
#

You will need to have a frontend to test other payment method types.

warped zephyr
#

Ok thank you. By enabling .setAutomaticPaymentMethods will I also need to specify a return url?

tawny sorrel
#

It's good to have it in case some PM types redirect the customer elsewhere to complete the payment.

#

If you don't provide it some Payment Method types might be unavailable.

warped zephyr
#

Ok. thanks a lot

tawny sorrel
#

Happy to help!