#wagamumma_best-practices

1 messages ยท Page 1 of 1 (latest)

loud marshBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1371435120904638507

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

iron arrow
#

googlepay and amazon pay express show up but paypal won't even though it's enabled

dawn vortex
#

Can you share some code please

#

i.e. how you initialise ECE?

iron arrow
#

const optionsExpress = {
shippingAddressRequired: true,
allowedShippingCountries: ['GB'],
shippingRates:shippingRatesArr,
emailRequired: true,
phoneNumberRequired: true,
};

    // Set up Stripe.js and Elements to use in checkout form.
    const elements = stripe.elements(options);

    // Create and mount the Express Checkout Element
    const expressCheckoutElement = elements.create('expressCheckout',optionsExpress);

    expressCheckoutElement.mount('#express-checkout-element');
#

everything is working fine I think it just doesn't show paypal ever

dawn vortex
#

And your code to init Stripe.js?

#

Also, your account ID? Want to understand if PayPal is correctly enabled and whether it is supported for your setup

iron arrow
#

i am not sure what you mean with the first question sorry

#

acct_1RKFYKI0mg5XUkop

#

is account id

#

i am in sandbox to test

loud marshBOT
iron arrow
dawn vortex
iron arrow
#

It does say that but I have paypal enabled in both live and sandbox modes so it doesn't make sense (and it says it will display in test mode anyway )

iron arrow
dawn vortex
dry tree
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

iron arrow
#

const stripe = Stripe("pk_test_**********************");

#

that?

dry tree
#

yes

iron arrow
#

just to be clear we're trying to enabled paypal express checkout not normal paypal option, google pay, amazon pay, these show as express elements but paypal won't show

dry tree
#

express checkout uses Stripe Elements the same way as the Payment Element

dry tree
# iron arrow

this means that you haven't correctly enabled paypal on your dashboard settings

iron arrow
#

i dont understyand what else I can do though, it's set as "active" in the sandbox and the live dashboards, a while ago there were options to enable things like paypal for express checkout, wallets only etc is that no longer an option as I don't see it anymore

#

I wondered if it needs to be enabled for express somewhere I can't see

dry tree
#

ok taking a look give me a few minutes please

iron arrow
#

thank you

dry tree
#

is the payment recurring by any chance?

#

would you mind sharing like a PaymentIntent ID or something that I could take a look at please?

iron arrow
#

it's not recurring no

#

i can't get as far as a payment intent because the paypal express checkout button just doesn't show at all

dry tree
#

is it possible to get access to your testing site please?

iron arrow
#

sure if you add something like this to cart

#
#

then you need to click that to activate a session to show the express checkout stuff (because we don't want it on live website yet)

#

if youre in chrome you should see google pay but there's no paypal express in any browser ive tested

dawn vortex
iron arrow
#

yes that's right, it just enables a session then goes to checkout where the express elements should load in

dawn vortex
#

Nope, I just see Payment Element

iron arrow
#

thats if i turn amazon pay on for example too, so it does all work just not paypal... if you don't see them you might have to click that link again, it turns it on first time turns it off if you click it again, maybe you need to click it again to turn it back on if you clicked it twice?

#

and you have to have something in cart too or it won't work

dawn vortex
#

Yeah it just doesn't work for me. I added that product to my cart, then clicked the 'test' link but I don't see guest checkout

iron arrow
#

hmm i dont understand, can you screenshot what you see please?

dawn vortex
#

Can you try registering the www. subdomain as a PMD?

iron arrow
#

I will try tes

#

yes*

#

it doesn't seem to have made any difference ๐Ÿ˜ฆ Is there still options in dashboard somewhere to enable payment methods for express/normal checkouts ? There always used to be separate options for these but I don't see them any more?

dawn vortex
#

Yeah, but that registration fixed other wallets like Apple Pay for you

#

No, the settings are global per PM. The only PM to support granular surfaces controls is Link

#

Still looking at this, but we may need to move async soon

loud marshBOT
iron arrow
#

I'm not totally sure what that would mean., is it a lot of extra work to move async?

#

does it make any difference we are un the UK by the way, like is express paypal only a US thing?

dawn vortex
dawn vortex