#EagerSnail

1 messages · Page 1 of 1 (latest)

fading falconBOT
misty wedge
trim bough
#

Right! is there a way to show an apple icon on the payment elements or change the look of that card in the element so that its shown that we got the card from their wallet.

so the user doesnt just see we saved their card and dont know how we got access to it.

misty wedge
#

The Payment Element will show an Apple Pay button by default, if it is enabled for the payment. Afterward, you would want to configure something that checks the card.wallet hash on the Payment Method object to let them know that you got it from Apple Pay. We don't have any systems in place that will do this part for you, unfortunately

trim bough
#

sounds good. Is the payment elements object customizable to that point or would we need to build our own display of the different payment methods to achieve that goal?

misty wedge
#

No customization is needed to show Apple Pay, so you shouldn't need to do anything special to get it to show up where it's supposed

trim bough
#

right but it also displays their card they used with apple pay when we save it for future use. so when they come back they see apple pay and a card. we want to show that that card came from their apple pay. or is there a way to surpress the display of that card and only show apple pay if their card has a wallet attached?

misty wedge
#

The Payment Element is showing their card when they come back? Can you share a screenshot of what you're seeing?

trim bough
#

yep let me grab it for you

misty wedge
#

Ahhh okay. Is that iOS or Android?

trim bough
#

so i can see apple pay and that card came from us saving it from apple pay with the setup_future_usage method

#

ios

#

and it adds another one everytime i use that method and then displays another one.

#

so id like to either surpress that card from being shown in this or display something that calls out that it came from apple.

#

if those things are possible that is.

misty wedge
#

Ahhhhhh, that makes sense. I didn't realize this was an iOS app at first. Okay, so the short answer is: no, these aren't customizable. Essentially, Apple has a very strict set of rules for displaying Apple Pay on payment forms (e.g. it needs to display on top of other payment types, it must have the logo, etc.).

This means customizing the payment sheet is limited (mostly) to aesthetics: https://stripe.com/docs/payments/accept-a-payment?platform=ios&ui=payment-sheet#ios-customization

trim bough
#

so theres no way to get it to look like this how its displayed in the stripe console.

misty wedge
#

Unfortunately not.

trim bough
#

ok. and how it displays that card on side of apple pay. is there a way to customize the way that looks? because thats what got saved from their apple pay. it created a card PM. and you can use apple pay seperately or the card that it created.

misty wedge
#

No, those components are baked in that way due to requirements from Apple and Visa about how things have to be displayed.

trim bough
#

gotcha. Thank you so much. youve been a tremendous help

misty wedge
#

Sure thing!

trim bough
#

Hey one last thing do you know any other companies that use payment elements/wallets with subscriptions to charge a saved PM that we could check out as an example of how to possible implement what we are going for?

misty wedge
#

I'm not really familiar with offerings from other companies

#

At least, I'm not sure of any other companies that offer this level of granularity

trim bough
#

thanks