You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As noted in #1374, if you attempt to create an object in the API with metadata with certain characters(such as #), it results in a malformed request. The API itself accepts these characters so it appears to be an issue with the library. The following code reproduces the problem:
It looks like the raw POST data sent is : amount=2000¤cy=usd&metadata[Invoice%20
but it should be source=tok_visa&amount=1000¤cy=usd&metadata%5BInvoice%20%23%5D=42
As noted in #1374, if you attempt to create an object in the API with metadata with certain characters(such as
#
), it results in a malformed request. The API itself accepts these characters so it appears to be an issue with the library. The following code reproduces the problem:request ID :
req_TSGAWLekqimvqv
It looks like the raw POST data sent is :
amount=2000¤cy=usd&metadata[Invoice%20
but it should be
source=tok_visa&amount=1000¤cy=usd&metadata%5BInvoice%20%23%5D=42
I'm not sure what the cause here is, maybe the string interpolation?
The text was updated successfully, but these errors were encountered: