#waleed-prb-connect

1 messages ยท Page 1 of 1 (latest)

errant totemBOT
steel cape
#

Hello ๐Ÿ‘‹
Stripe Card Element doesn't really support Wallets like Apple or Google Pay.

Do you mean you're using PaymentElement?

cerulean flower
#

yes PaymentElement which supports the Google pay, Apply pay and link

#

Everytime I am getting the pay with link button just

steel cape
#

I am getting apply pay button in safari. Can anyone help me in this regard ??
Are you or are NOT getting Apple Pay button in safari?

cerulean flower
#

I am not getting apple pay button in safari

cerulean flower
#

Yes I have added domain in configuration setting of apply pay through my stripe dashboard

#

which gives me a file to place in .well-known sirectory

steel cape
#

Is the site you're testing live? If so, can you share the URL?

#

Can you also share the example PaymentIntent?

cerulean flower
#

here is the live url

#

stripe.paymentRequest({
country: "US",
currency: "usd",
total: {
label: "Demo total",
amount: Number((billAmount ? billAmount : 0 * 100).toFixed(2)),
},
requestPayerName: true,
requestPayerEmail: true,
}); this is my payment request object

steel cape
cerulean flower
#

actually I dont have stripe session for now to login. I have publish key for my stripe account it will work ?

steel cape
#

No that won't work. I need to check if you've registered the domain correctly which I can't do without the account ID.

Do you have an example PaymentIntent ID or some other object ID that belongs to the account you've registered the domain to??

cerulean flower
#

for now I just have live and test publish keys

#

Actually I have another stripe account let me integrate apply pay with it first

#

there ?

steel cape
#

if you have another Stripe account then you can try registering the domain there and then use it's API keys in your code

#

Where exactly are you testing from?

cerulean flower
#

chrome for now

steel cape
#

Sorry, like what country are you testing from?

cerulean flower
#

pakistan

steel cape
#

Apple pay isn't supported in Pakistan so you likely won't be able to see it

cerulean flower
#

nopes I have also checked with my client

#

he is in US

#

he also won't able to see apple pay button

#

same pay with link button is showing

steel cape
#

I see. Since I don't have your account ID, I can't can't check if you've verified the domain correctly

cerulean flower
#

can you check if it is a connect acocunt or general one ? acct_1MbtlPF2qxPMBfve

steel cape
#

That account isn't connected to any platforms so most likekly a standard account

cerulean flower
#

hold on I am check

#

okay

#

I have deployed my code

#

account id : acct_1MbtlPF2qxPMBfve

#

Its again showing me the pay with link button

#

there?

steel cape
#

Please be patient, I am working with multiple users

cerulean flower
#

sure

steel cape
#

I am seeing it show up just fine

cerulean flower
#

do you have any card information saved in your safari browser ?

#

because for me its not working, only showing link pay

#

also check this : {applePay: false, googlePay: false, link: true} cakeMakePayment result

steel cape
#

If you're trying to test from an unsupported location it won't work.

The Apple Wallet needs to have a valid card saved in order for this to work

cerulean flower
#

what is your location right now ?

steel cape
#

US

cerulean flower
#

can you guide what is apple wallet and how to add card in it to make my safari work for apple pay

steel cape
cerulean flower
#

vpn will work in that case ??

steel cape
#

I don't think VPN helps with this either as Apple's wallet app doesn't show up on your device with a VPN

cerulean flower
#

wait its not showing the google pay in chrome

#

Gpay should work right ?

steel cape
#

I see google pay too

cerulean flower
#

do you have card saved in chroome ?

#

are you checking on laptop ?

steel cape
#

yes and yes

#

You need to be logged in to chrome with a google account that has valid cards in Google Pay

cerulean flower
#

hmmm right, same in case of apple pay ?

steel cape
#

yup

cerulean flower
#

okay thats all in case if we use payment Element of stripe. If I want to implement apple pay custom using stripe js. How I can do that is there nay way to do that ?

steel cape
#

You're not using PaymentElement.
You're using PaymentRequest button

errant totemBOT
cerulean flower
#

Yes, If I want to make custom implementation for apply pay using stripe js. I have frontend in react and backend in node js. How I will do that without payment request button

dark remnant
#

๐Ÿ‘‹ stepping in here as hanzo needs to step away

#

So you are saying you don't want to use Payment Request Button here?

#

The three options for displaying Apple Pay using Stripe.JS are either using Payment Element, Payment Request Button, or Express Checkout Element (a newer version of Payment Request Button)

#

Can you clarify what you are looking for eactly

cerulean flower
#

what is express checkout element and payment element

cerulean flower
#

I have a admin stripe account and connected account. I want to recieve payment from client through apple pay and send to its connect account

dark remnant
#

Okay so yeah sounds like you want to integrate one of the three options I mentioned. All 3 will accomplish that... I'd recommend using Express Checkout Element if you are only looking for Apple Pay

cerulean flower
#

yes I am looking into express checkout and implementing it for my test stripe account

#

hold I will share url in few

#

can you please tell me how I will send payment to connect acocunt directly ? in this

errant totemBOT
dark remnant
#

What type of Connected Account is it?

cerulean flower
#

standard

dark remnant
#

Okay in that case you want to initialize Stripe.JS on your Connected Account and create/confirm the PaymentIntent on your Connected Account as well. You do that by using the Stripe Account Header like we indicate here: https://stripe.com/docs/connect/authentication

lime cave
#

waleed-prb-connect

cerulean flower
#

ok It will send amount to connect account direct ? instead of admin account

dark remnant
#

You would set an application_fee_amount for your "platform's cut" of the purchase

cerulean flower
#

application fee will be send to admin ?