set allowCreditCards to false has UI defect and will block all test cards
Describe the bug A clear and concise description of what the bug is.
Hello 👋 , not sure if this's the best repo to ask but I can reproduce the error via the Jsfiddle link from your site. https://jsfiddle.net/ru59csa1/
when disabling credit card by setting allowCreditCards parameters to false it blocked all test cards and the UI is broken.
can only use real cards to test.
Happens in JS also for the Android Sdk (the UI is ok tho, just test cards not usable).
To Reproduce Steps to reproduce the behavior:
- Go to the sandbox
- Change
allowCreditCardsto false for parameters inbaseCardPaymentMethod - Run the code then click the pay button
- test cards are blocked and the UI styling is off
- can only test via real cards, setting this boolean to false can block my
realcredit card and still allowrealdebit card
JsFiddle link https://jsfiddle.net/ru59csa1/
Expected behavior A clear and concise description of what you expected to happen. Any chance you can fix the UI, fix/provide extra cards to test ban credit card?
Screenshots If applicable, add screenshots to help explain your problem.
working as expected when testing with real cards, the last one is a credit card and it's blocked
Component information:
- Component
- [ ] React component (
@google-pay/button-react) - [ ] Custom element (
@google-pay/button-element) - [ ] Angular component (
@google-pay/button-angular)
- [ ] React component (
- Component version (e.g. 1.0.0):
Environment:
- Device (e.g. iPhone6):
- OS (e.g. iOS8.1):
- Browser (e.g. stock browser, safari): chrome
- Country/region: AU
Additional context Add any other context about the problem here.
@chrisudf thanks for reporting this! we are looking into it...
@chrisudf we finally managed to add test debit cards:
Let me know if this works for you now.
@dmengelt Thanks, looking good UI wise.
But I got the payment error while using both debit cards tho with the sandbox test env
Something went wrong. Try again later or use another payment method. [OR_BIBED_08] OR_BIBED_08
@chrisudf interesting. I can't reproduce this. could you join the Discord #payments channel here and post a message linking to this issue?
@chrisudf I'm now able to reproduce the issue on my side. I will keep you posted!
@chrisudf we released a fix and debit cards are now available. sorry for the circumstances.