Skip to content

Commit

Permalink
Merge pull request #201 from alma/feat/MPP-519/return-in-payment-step…
Browse files Browse the repository at this point in the history
…-in-prestashop-16-on-cancel-payment

feat MPP-519 Return in payment step in prestashop 1.6 on cancel payment
  • Loading branch information
Benjamin-Freoua-Alma authored Aug 7, 2023
2 parents c0dfc50 + 49f55db commit 2f1fbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alma/lib/Model/PaymentData.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public static function dataFromCart($cart, $context, $feePlans, $forPayment = fa
'deferred_days' => $feePlans['deferredDays'],
'deferred_months' => $feePlans['deferredMonths'],
'purchase_amount' => PriceHelper::convertPriceToCents($purchaseAmount),
'customer_cancel_url' => $context->link->getPageLink('order'),
'customer_cancel_url' => $context->link->getPageLink('order&step=3'),
'return_url' => $context->link->getModuleLink('alma', 'validation'),
'ipn_callback_url' => $context->link->getModuleLink('alma', 'ipn'),
'shipping_address' => [
Expand Down

0 comments on commit 2f1fbaa

Please sign in to comment.