Mangopay / mangopay2-php-sdk

PHP SDK for MANGOPAY
https://packagist.org/packages/mangopay/php-sdk-v2
MIT License
122 stars 133 forks source link

Build a form on my own website #568

Closed nuzil closed 1 year ago

nuzil commented 2 years ago

Hello,

I'm currently bit confused with documentation and my question if I can build a form on my own website and using API for processing payments. Cause I currently see everything referenced to RedirectUrls to payment page.

For example: https://www.mangopay.com/en_UK/white-label/ is it just an Iframe or redirect for PSP page?

Correct refence will be great.

Thanks a lot!

H4wKs commented 2 years ago

Hi Nuzil,

You can process a form directly from your website using the API yes. You can read more about the process in the API documentation here: https://docs.mangopay.com/endpoints/v2.01/payins#e264_the-payin-object

In your case, you want to look at Create a Card Direct PayIn