#B33fb0n3

1 messages Β· Page 1 of 1 (latest)

slow cradleBOT
strange fiber
#

Those parameters are to actually display the items in the associated wallet interface

#

i.e. the customer clicks Apple Pay and in the dialog there's a list of items of what they're buying

#

I believe it's optional

delicate tiger
#

So the customer can manipulate these items? Currently I calculate all the amounts on the serverside. So it would be double work. And I can make some mistakes on the server side and than the customer wonders why there is another amount taken from his account... I want to be as transparent as possible to the customer...

strange fiber
#

No, they're not editable in the dialog. It's just for information purposes

strange fiber
#

Did you try using it without providing the lineItems param?

delicate tiger
strange fiber
#

Those are required field if your pass lineItems

delicate tiger
#

ah got it

#

currently thinking about this. What do you think about it?

strange fiber
#

Not sure what you're asking me

delicate tiger
strange fiber
#

It's the amount we show in the wallet dialog for payment to your customers

delicate tiger
#

ah and this amount already needs to be with shipping costs... right?

The amount intended to be collected from the customer right now

strange fiber
#

Yes the total amount

delicate tiger
#

How do I know this amount before knowing where I need to ship? Because the shipping costs depend on the shipping location and the shipping company

strange fiber
delicate tiger
#

oh alright got it. Last question: the payment process is the same, but just the payment method and the shipping are autofilled by paypal,applepay, google pay, ... right?

slow cradleBOT
grave field
#

Hi! I'm taking over this thread.

#

What do you mean by "autofilled"?

delicate tiger
#

Hey πŸ™‚
like automaticaly entered by the express service

grave field
#

Which part will be autofilled? The shipping address?

delicate tiger
#

just the payment method and the shipping address

#

Ok I thinks its like that...

#

Other Question: trying to activate apple pay and the domain verify via the file. Stripe recommend to use ngrok because of the https. I using it, but can't verify the top level domain. Can I still use it?

delicate tiger
grave field
#

Stripe recommend to use ngrok because of the https. I using it, but can't verify the top level domain.
Can you clarify what "can't verify" means? Do you get an error message? Which one?

#

Also I can't find anything about these IOS zertificates: (see picture)
Where is this screenshot coming from?

delicate tiger
willow stag
#

Hi! I'm taking over from my colleague. Please, give me a moment to catch up.

#

Can you try verifying the subdomain?

#

Are you with me?

delicate tiger
#

Yeah I am here. I can verify the subdomain. But the guide says that I also Need to verify the top Level domain πŸ™‚

willow stag
#

Please try and let me know if it works

delicate tiger
#

I can verify the subdomain. But the guide says that I also Need to verify the top Level domain πŸ™‚
The top Level Domain can’t be verified, because I do Not own ngrok

willow stag
#

To use Apple Pay, you must register every web domain that will show an Apple Pay button. This includes both top-level domains (for example, stripe.com) and subdomains (for example, shop.stripe.com).
This means, if you use apple pay on stripe.com and on shop.stripe.com, you need to verify both, and not just stripe.com. But if you use apple pay only on shop.stripe.com you only need to verify that one.

#

In your case, you don't show Apple Pay on ngrok.io, so you don't need to verify it.

slow cradleBOT
delicate tiger
#

ah that sounds good, thanks!

willow stag
#

Please let me know when you try verifying it

delicate tiger
#

Verified the subdomain now πŸ™‚

#

Isn't the ExpressCheckoutElement exported from this package?

willow stag
#

What react-stripe-js version are you using?

delicate tiger
#

"@stripe/react-stripe-js": "^1.16.1",

#

1.16 @willow stag

final lagoon
#

Hey! Taking over for my colleague. Let me catch up.

delicate tiger
#

ok

final lagoon
#

You should check the Changelog of the librairy you are using.

#

ExpressCheckoutElement is introduced in v2.0.0

delicate tiger
#

ah got it. Thanks!

delicate tiger
#

Hey @final lagoon it's me again. I have now integrated the whole system, but no express checkout buttons are visible. When I go to more "normal" Checkout I can see there google pay. So minimum google pay should be visible for me in the express checkout, but nothing is visible. I followed the guide and checked for errors. There are no errors

final lagoon
#

So minimum google pay should be visible for me in the express checkout, but nothing is visible
Do you have a valid card in your Google Wallet ?

#

Is the website loading in Https ?

delicate tiger
final lagoon
#

Can you share the link to your express checkout ?

delicate tiger
#

Sure, can I send you via dm?

final lagoon
#

Send a test link here (the link to your website that is using your Stripe Test keys)

delicate tiger
#

I don't want to share it in public

final lagoon
#

Just share a link to your test website using your test keys.

#

then you can delete it

#

Where/How you are loading the Express Checkout ?

delicate tiger
#

inside the link you can see the ngrok address:

final lagoon
#

You did the deployement with the latest changes? Can't see any Express Checkout there...

delicate tiger
#

Yeah its connected to the localhost

#

If you choose an item and put it inside the cart you should be able to see the white space between two dividers

final lagoon
#

Ah ok I need to use the ngrok link from the website you shared with me.

#

Can you share again another link ? I missed that sorry.

delicate tiger
#

Ah sure, no problem

final lagoon
#

I can see Google PAy there.

delicate tiger
#

yes, thats my normal checkout process πŸ™‚

#

Now you also got my problem πŸ˜„

..., but no express checkout buttons are visible. When I go to more "normal" Checkout I can see there google pay. So minimum google pay should be visible for me in the express checkout, but nothing is visible...

delicate tiger
# delicate tiger

normaly you should be able to see the express buttons here (in the cart menu)

final lagoon
#

Ok, I think you need to share a complete sample project for that in order to be able to reproduce the issue, your website has multiple screens/logic there. Without having the complete code, it's hard to debug. So a minimal express checkout project that reproduce the issue will help investigate this further.

willow stag
#

Hi @delicate tiger please write to Stripe Support, describe the issue in detail and attach your complete code. This will allow us to investigate the issue carefully in our own time. You can mention you got help from us on Discord.

delicate tiger
delicate tiger
willow stag
#

It is redirected to us if it's technical.

delicate tiger
#

Ah that sounds good. How do I send the code files?

willow stag
#

You should be able to send an email with attachments.

delicate tiger
#

I think the files are to big

#

Should I use codepen πŸ€”

willow stag
#

You can attach a file to the email?

#

But any way works, as long as we have access to your code.

delicate tiger
#

I think the files would be to big for an email. Alright. Than I will do it via codepen and refer to this thread in the support chat, right?

willow stag
#

Yes