#hitarth_97327

1 messages · Page 1 of 1 (latest)

ripe sundialBOT
#

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.

fast rose
#

Hi, let me help you with this.

#

Could you please specify what you're referring to exactly? Do you have a screenshot?

hoary wasp
#

yes sharing screenshot

mighty plume
hoary wasp
#

I want to remove this

#

@fast rose , could you please help me to remove this.

fast rose
#

My colleagues have already explained how to do this in the other thread.

hoary wasp
#

sorry but It's not helpful

fast rose
#

What's the exact challenge you're facing?

hoary wasp
#

I want to remove postal code from card payment and i am using this method to generate card
const stripeInstance = useStripePaymentElement({
// the stripe publishable key
stripeKey,
// the stipe options for the stripe element. It's recommended
// to put these in a more global place, so you can reuse them.
// the type is Omit<StripeElementsOptions, 'clientSecret'>
elementOptions: {
fonts: [
{
cssSrc: 'https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600;700&display=swap'
}
],
appearance: {
theme: 'flat',
variables: {
colorBackground: '#CFD8E6',
borderRadius: '0px',
fontFamily: 'IBM Plex Mono, Arial, sans-serif',
colorText: '#292421'
},
}
},
// the element ref to mount stripe payment element on
elementRef: stripePaymentHtmlElementRef,
// the function to call to get the client secret
getClientSecret,
// the payment options to pass into stripe's confirmPayment
paymentOptions: {
confirmParams: { return_url: ${browserBaseURL}/success }
},
// the function to call after payment is successful
afterPayment
})

fast rose
#

What is useStripePaymentElement?

hoary wasp
#

yes sharing

#

it is a stripe configuration

fast rose
#

You defined this method yourself?

fast rose
#

Are you with me?