#wagamumma_best-practices
1 messages ยท Page 1 of 1 (latest)
๐ 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.
- wagamumma_best-practices, 2 days ago, 34 messages
- wagamumma_best-practices, 5 days ago, 22 messages
- wagamumma_best-practices, 5 days ago, 34 messages
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
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
i am not sure what you mean with the first question sorry
acct_1RKFYKI0mg5XUkop
is account id
i am in sandbox to test
When you call new Stripe(...)
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 )
Does that apply to express elements? I don't see that anywhere?
Yes, you always need a Stripe.js instance: https://docs.stripe.com/elements/express-checkout-element/accept-a-payment#set-up-elements
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
yes
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
express checkout uses Stripe Elements the same way as the Payment Element
this means that you haven't correctly enabled paypal on your dashboard settings
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
ok taking a look give me a few minutes please
thank you
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?
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
is it possible to get access to your testing site please?
sure if you add something like this to cart
Enter a jungle dreamscape inspired by Emma J Shipley's travels in the Osa Peninsula in Costa Rica, one of the most biodiverse places on Earth. An enigmatic puma stands centre-stage, surrounded by other fantastical creatures of the forest, including macaws, monkeys, sloths, ocelots and more. This is a magnificent and immersive digitally printed ...
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
This just redirects me back to https://www.gordonsmithmalvern.co.uk/checkout/
yes that's right, it just enables a session then goes to checkout where the express elements should load in
Nope, I just see Payment Element
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
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
hmm i dont understand, can you screenshot what you see please?
Can you try registering the www. subdomain as a PMD?
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?
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
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?
No, you'd just fill out a form and we'll work over support emails to a reolsution
Nope, PayPal is not available for US accounts at all actually