#hitarth_97327
1 messages · Page 1 of 1 (latest)
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.
- hitarth_97327, 2 minutes ago, 22 messages
- hitarth_97327, 2 days ago, 21 messages
- hitarth_97327, 6 days ago, 15 messages
- hitarth_97327, 6 days ago, 8 messages
Hi, let me help you with this.
Could you please specify what you're referring to exactly? Do you have a screenshot?
yes sharing screenshot
I already explained how you do this: https://discord.com/channels/841573134531821608/1197819477094567947
My colleagues have already explained how to do this in the other thread.
sorry but It's not helpful
What's the exact challenge you're facing?
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
})
What is useStripePaymentElement?
You defined this method yourself?
Are you with me?