Reply
Highlighted
Contributor
Posts: 51
Registered: ‎10-28-2015
Accepted Solution

JSON string value in Merchant Defined SIM Field?

I'm submitting a JSON string in a merchant defined field to the SIM hosted payment form, however the relay response only contains the opening curly bracket of the original string, "{", and the rest of the string is missing in the response.

 

Is it not possible to submit a JSON string as a merchant defined field value?

 

Thanks, Fritz


Accepted Solutions
Highlighted
Solution
Accepted by topic author coppercup
‎12-01-2015 09:40 AM
Contributor
Posts: 51
Registered: ‎10-28-2015

Re: JSON string value in Merchant Defined SIM Field?

I have come up with an easy workaround, which is to base64 encode the json string before submission and decode it after receiving it from the relay response.

View solution in original post


All Replies
Highlighted
Solution
Accepted by topic author coppercup
‎12-01-2015 09:40 AM
Contributor
Posts: 51
Registered: ‎10-28-2015

Re: JSON string value in Merchant Defined SIM Field?

I have come up with an easy workaround, which is to base64 encode the json string before submission and decode it after receiving it from the relay response.