CORS error on http.post return


#1

Hi there,

I have an ionic application with a payment service that is supposed to post informations to a bank (e-transaction : Crédit Agricole). Then the bank answers with a string to let us know if the payment is accepted or rejected. The problem is that i actually see the bank response in chrome inspector (Network>XHR) but in the console i have a CORS error so that I can’t deal with the bank return.

I succeeded make it work with a proxy but when I use the app with Ionic View it doesn’t work anymore…

Anyone has a clue ?


#2

Hello,

I had the same problem, couldn’t make it work either. If anyone has the answer, I will gladly hear it :slight_smile: