Page 1 of 1

Implementing MangoPay Service Provider

Posted: 06 Sep 2017, 14:36
by MirkoPinna
Hi i am trying to implement MangoPay as a payment provider, i created the provider and it is recognized in the admin panel. So far everything is good, but i would like to generate a form in the checkout process as described here: https://aimeos.org/docs/Developers/Libr ... he_payment
The only problem is that the MangoPay APIs need Basic Access Authentication, is there any way to pass a Basic access key?

Re: Implementing MangoPay Service Provider

Posted: 07 Sep 2017, 08:30
by aimeos
HTTP basic auth is a HTTP header that is sent to the server and you can't add that to a form:
https://stackoverflow.com/questions/951 ... ost-a-form

I guess there must be another way to authenticate with MangoPay because supporting only HTTP basic auth would limit the usage of MangoPay as payment provider very much.