Mangopay / mangopay2-php-sdk

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

CardPreAuthorizedPayIn not prensent in the PHP library ! #504

Closed Diallos closed 3 years ago

Diallos commented 3 years ago

Seems the CardPreAuthorizedPayIn object is missed in the PHP library like described in the doc in the step 3 here , is it a mistake ?

Any plan to include this object in the PHP library ?

H4wKs commented 3 years ago

Hi @Diallos,

It's not missing. You just create a Payin, and use the PreAuthorized related ExecutionDetails $payIn->ExecutionDetails = new \MangoPay\PayInPaymentDetailsPreAuthorized(); And then set the Pre Authorized Id for $payIn->ExecutionDetails->PreauthorizationId

Cheers,