#j-_api

1 messages ยท Page 1 of 1 (latest)

neon owlBOT
#

๐Ÿ‘‹ 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/1268217752024387625

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

white vine
#

@hollow solar Hello ๐Ÿ™‚

hollow solar
white vine
#

I'm here

#

When users doesnt have apple pay, i think stripe should provide a message telling the user that he needs to activate apple pay or google pay, but it just doesnt show anything

hollow solar
#

And you are saying that both apple and google pay show up on that page for you on the same device where you are not seeing those wallets on your site?

white vine
#

Well, if the user access via andorid device, and have google pay activated on their phone, then the google pay button shows up. But if its not activated then it doesnt show the button at all

#

Same on iphone or safari

hollow solar
#

Gotcha, then it sounds like you need to set those two settings to always

white vine
#

Im sorry to bother you, where i shoudl define that? im using react and importing the checkout element:
import { ExpressCheckoutElement, useElements, useStripe } from '@stripe/react-stripe-js'

#

or in the <Elements/>?

hollow solar
#

No bother, I think you would pass this in as options when initiating the Express Checkout Element:

  options={{
    paymentMethods: {
      applePay: 'always',
      googlePay: 'always',
    }
  }}
/>```
white vine
#

still doesnt show ๐Ÿ˜—

#

๐Ÿ˜ฆ

#
  const options: any = {
    layout: 'auto',
    buttonTheme: {
      applePay: 'black',
    },
    buttonType: {
      applePay: 'check-out',
    },
    buttonHeight: 50,
    borderRadius: '2px',
    paymentMethods: { link: 'never', googlePay: 'always', applePay: 'always' },
  }
hollow solar
#

Hmm not immediately sure what that may be. Do you have a public test site where I can try to see this for myself?

white vine
#

It should say something like 'activate apple pay' or something that the user knows ๐Ÿ˜›

#

yes

#

but, if you are on browser it will show up

hollow solar
white vine
#

you should test on a mobile phone which u dont have activated apple pay

#

Yes, as i told you

#

It shows when you have activated apple pay

#

Click on "Pagar o dividir la cuenta" > "Pagar cuenta completa" > Select "Si" > then Google pay or apple pay

#

Let me know

hollow solar
#

When I inspect the code on your site, I don't see the apple Pay and google pay always settings. Is it possible that the updated version of your code is not on your site yet?

        layout: "auto",
        buttonTheme: {
            applePay: "black"
        },
        buttonType: {
            applePay: "check-out"
        },
        buttonHeight: 50,
        borderRadius: "2px",
        paymentMethods: {
            link: "never"
        }```
white vine
#

Oh, sorry, let me deploy the changes, im testing in local dev

#

Sorry

#

its deploying, please when i tell you hard refresh the browser

#

done

#

it doesnt appear anything

#

It should appear at the bottom

#

let me show you an example when it showz

hollow solar
#

It is actually working for me now

#

On the same machine wehre that was not appearing before

white vine
#

Yes, but in this device

#

oh finally, yes!

#

i think only works on production

#

there is any way we can show oinly apple pay on safari and apple devices?

#

sorry apple devices*

#

and on google devices only google

hollow solar
white vine
#

ok perfect

#

other question

#

itspossible that a user can pay less than $10mxn?

#

its an issue when users cant pay less than 10

hollow solar
white vine
#

๐Ÿ˜ฆ

#

But its nothing about tech?

hollow solar
#

This is definitely a support question. There isn't a setting that you can turn on yourself or set via the API that would allow you to do this. It is something support would have to enable