Ionic 3 Instamojo Integration

Posted in General by Poonam Mangla Tue Aug 07 2018 19:15:48 GMT+0000 (UTC)·4·Viewed 489 times

we have followed all the steps for test instance for ionic sdk using ionic 3. all goes fine for generating accesstoken etc. however, payNow() throws console.log: Payment failed: {"status":401,"headers":{"content-type":"application/json; [app-scripts] charset=utf-8","p3p":"CP=\"Instamojo does not have a P3P policy\"","www-authenticate":"Bearer [app-scripts] realm=\"api\"","set-cookie":"csrftoken=32I7CoeTuCruVfI6CXFs7ToJ9VkgTfkm70aKrkfwPICG5TPtfyQp9KFId589iDtb; [app-scripts] expires=Tue, 06-Aug-2019 19:02:54 GMT; Max-Age=31449600; Path=/; [app-scripts] Secure","server":"nginx","x-xss-protection":"1; mode=block","allow":"GET, POST, HEAD, OPTIONS","date":"Tue, [app-scripts] 07 Aug 2018 19:02:54 GMT","strict-transport-security":"max-age=63072000; includeSubDomains; [app-scripts] preload","content-length":"89","x-content-type-options":"nosniff","x-frame-options":"SAMEORIGIN","vary":"Cookie"},"url":"https://test.instamojo.com/v2/payment_requests/","error":"{\n [app-scripts] \"success\": false,\n \"message\": \"Authentication credentials were not provided.\"\n}\n"} no idea what is wrong.
Instamojo
Aug 9, 2018

Hi Poonam,

I hope you are doing well.

Could you please share the code segment that you are running at your end with me?
You can send the code to ajith@instamojo.com.

Poonam Mangla
Aug 9, 2018

I have sent an email. Plz reply asap.

Poonam Mangla
Aug 11, 2018

any updates ?

Poonam Mangla
Aug 16, 2018

is it a real working product or what?

  
Markdown is allowed