#jerome_17472
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.
- jerome-prb-react, 23 minutes ago, 14 messages
Hi can you summarize the issue and question per the above message
yes. so. i have a react app. something really basic. I can already process credit card payment with stripe. now I need to add gpay and applepay button. iv seen some example of the code on stripe documentation so im sure the code is ok.
The button load but it replace everything in the page
its like the stripe button remove everything in the dom before it appear
this is before the button
this is after
Where you you mount the button in your code?
you will see that inside the class="App" element, there is only StripeElement. everything else disappear.
Can you share that piece?
I don't see App anywhere in the above code
this is app.js
this is my page container
inside my stepper I have a layout a form and then the code for the gpay button
app.js -> page with stripe element -> layout -> gpay button code
mmm ill try to put the button code inside the stripe element component and then inside the layout and see what happen
maybe the button code is ment to replace everything inside the StripeElements
That's possible. Difficult for me to follow just partial screenshots
Not clear to me how everything connects. Can you share the complete files?
you can test it here actualy https://web-app.dev.swiftraize.com/donation-information
Web site created using create-react-app