Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#4564 by MirkoPinna
06 Sep 2017, 14:36
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/Library/Service/Implement_payment_provider#Process_the_payment
The only problem is that the MangoPay APIs need Basic Access Authentication, is there any way to pass a Basic access key?
#4565 by aimeos
07 Sep 2017, 08:30
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/9516865/how-to-set-a-header-field-on-post-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.