#michael_19345

1 messages · Page 1 of 1 (latest)

gusty prismBOT
#

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.

young radish
proven veldt
#

should this prop be inside this?

this.elements = this.stripe?.elements({
appearance: {
theme: 'stripe',
// If we want to customise
// variables: {
// colorPrimary: '#0570de',
// colorBackground: 'var(--onstage-background-color)',
// colorText: 'var(--onstage-text-color)',
// colorDanger: '#df1b41',
// fontFamily: 'Ideal Sans, system-ui, sans-serif',
// spacingUnit: '2px',
// borderRadius: '4px',
// // See all possible variables below
// },
rules: {
'.Label': {
color: textColor,
},
},
},
clientSecret,
});

young radish
#

No that's the elements group creation, the wallets option is in the payment element creation

#

elements.create('payment' , ...)

proven veldt
#

this is the element im referring too

#

so here? const paymentElement = this.elements.create('payment');

#

const paymentElement = this.elements.create('payment', { wallets: {
applePay: 'never',
googlePay: 'never'
} });

#

?

young radish
#

Yes, that looks right. I wouldn't expect to see the google pay option with this configuration.

proven veldt
#

working!! amazin

#

thanksss

young radish
#

Great! NP!