#waleed.bin.khalid

1 messages · Page 1 of 1 (latest)

leaden swanBOT
#

Hello! We'll be with you shortly. 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.

reef ledge
#

hi! I don't really follow, do you have some example code or examples in general of what you're seeing?

wary elbow
#

yes, const stripePromise = loadStripe(
process.env.REACT_APP_STRIPE_PUBLISHABLE_KEY_LIVE,
{ stripeAccount: connectAccountId }
);

#

I am loading my stripe using stripeAccount header now

reef ledge
#

sounds good

#

if Apple Pay is not showing, make sure you registered the domain.

wary elbow
#

ok lemme check

#

I dont get it

reef ledge
#

what specific question do you have/what can I clarify?

wary elbow
#

const pr = stripe.paymentRequest({
// country: "US",
// country: stripeCountry,
// currency: stripeCurrency,
// currency: "usd",
// country: countryCode === "" ? "US" : countryCode,
country: "US",
currency: currencyCode === "" ? "usd" : currencyCode.toLowerCase(),
total: {
label: "Total tip amount",
amount: Number((tipAmount ? tipAmount * 100 : 0).toFixed(2)),
},
requestPayerName: true,
requestPayerEmail: true,
disableWallets: ["link"],
});

    pr.canMakePayment().then((result) => {
      if (result) {
        setPaymentRequest(pr);
        if (!result?.applePay) {
          setIsApplePayDisabled(true);
        }
      }
    });
leaden swanBOT
wary elbow
#

this is my code for apply pay and google pay

#

under connect account payment methods setting apple google are on by default becasue it is setted bydefault on platform account

reef ledge
wary elbow
#

I need to run this api everytime I am going to do apple / goole payment on connect account ?

#

see this

#

here apple pay / google pay are on bydefault

reef ledge
reef ledge
# wary elbow

the Dashboard unfortuantely is irrelvant here and will not show if this has been done. You need to call the API to register the domain.