Open shauncAdyen opened 1 year ago
@shauncAdyen Thanks for creating the issue. I can replicate the problem (thanks to all the details and info in your issue), I will try now to upgrade the Drop-in to the latest version as the first step. I will keep you posted. Thanks
name: 🐞 Bug about: File a bug/issue title: '[BUG] Reference string length causes GrabPay Test Transaction to fail'
Recommendation
The docs indicates a maximum string length of 80 for reference parameter. When reference length is replaced with a shorter string, GrabPay Drop-in works as expected.
Current Behavior:
Selecting GrabPay Drop-in option on GitPod instance returns a 422 error with message:
"reference='Reference 0e852a1a-f187-49e9-9092-221772cbd46c' given is invalid
.Expected Behavior:
Selecting GrabPay Drop-in option on GitPod instance should redirect user to weblogin.grab.com to authenticate user and continue with checkout flow.
Steps To Reproduce:
request['amount'] = {"value": "10000", "currency": "EUR"}
to request['amount'] = {"value": "10000", "currency": "SGD"}request['countryCode'] = "NL"
to request['countryCode'] = "SG"Environment:
requirements.txt
Browser