Hi All,
I am currently working with Payment api IN SandBox enviroment. when i access the createPayment from localhost It works fine.
But when i try to access createPayment sandbox enviroment from HTTPS Domain . it gave me the following error.
'frame-options': 'DENY',
'x-frame-options': 'DENY',
'x-content-type-options': 'nosniff',
'x-xss-protection': '1; mode=block',
'content-length': '123',
'strict-transport-security': 'max-age=631152000; includeSubDomains; preload',
connection: 'close' },
body:
'{"errors": [{"code": "BAD_REQUEST","detail": "Expected \\"{\\" (line 1, character 1)","category": "INVALID_REQUEST_ERROR"}]}\n',
result: [Object: null prototype] { errors: [ [Object] ] } ,
errors:
[ [Object: null prototype] {
code: 'BAD_REQUEST',
detail: 'Expected "{" (line 1, character 1)',
category: 'INVALID_REQUEST_ERROR' } ] }
Can anyone help me to figure out what actually went wrong with my configuration?
Best Regards,
devG