Closed Azim-pix closed 4 years ago
@Azim-pix
SecureMode
property and not SecureModeNeeded
SecureMode
value, 3DS could be asked by the bank or automatically triggered due to transaction amount. Always check Payin Status, SecureModeNeeded value and SecureModeUrl and redirect your client if needed to 3DS flow page.
Hi mick
We are currently using your service in order to get the payments from our client. We have succeeded in getting the payment from the client successfully.
Currently, we are trying to develop a system where the money is deducted from the client's 3D secured card. We don't have any issue with the 1st cycle of the payment.
For the subsequent cycles, we have the issue recurring payment with 3D payment card,the payment status in MANGOPAY is pending.
here is my code
public function setCardRegistration($naturalUserId){
public function finishCardRegistration($card_id,$data){
$payIn = new MangoPay\PayIn(); $payIn->CreditedWalletId = $wallet->Id; $payIn->AuthorId = $mangoUser->Id; $payIn->Tag = $tag; $payIn->DebitedFunds = new MangoPay\Money(); $payIn->DebitedFunds->Amount = $amount; $payIn->DebitedFunds->Currency = 'EUR'; $payIn->Fees = new MangoPay\Money(); $payIn->Fees->Amount = $fee; $payIn->Fees->Currency = 'EUR';