202-ecommerce / stripe_official

After years of hard work with Stripe connector for PrestaShop, 202 ecommerce stop the development of Stripe module on January 9th 2023. Thanks for all contributors that help us!
20 stars 20 forks source link

Redirect to order-confirmation instead stripe confirmation page #90

Closed Daxtermania closed 2 years ago

Daxtermania commented 3 years ago

Once the order is confirmed, the user is redirected here:

$url = Context::getContext()->link->getModuleLink(
    'stripe_official',
    'orderSuccess',
    $datas,
    true
);

But it should redirect to the native prestashop confirmation page, similar to this:

$url = Context::getContext()->link->getPageLink(
    'order-confirmation',
    true,
    null,
    array(
        'id_cart' => (int)$this->context->cart->id,
        'id_module' => (int)$this->module->id,
        'id_order' => (int)$id_order,
        'key' => $secure_key
    )
);

Can you repair it?

mribeiro202 commented 3 years ago

Hi @Daxtermania ,

Thank you for your issue, we are currently working on it. I will let you know once we made a release with this fix.

Have a nice day.

clotairer commented 2 years ago

We publish last week the release 2.4.0 witch solve issued about this issue. Stripe use now the default prestashop landing page after the payment and trigger all hook

You can update your addons. If you have any trouble do not hesitate to contact our technical support here : https://addons.prestashop.com/en/contact-us?id_product=24922