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

Invalid dashboard.stripe.com url in back office. #127

Closed s1239u85 closed 2 years ago

s1239u85 commented 2 years ago

The dashboard urls have two forward slashes between 'dashboard.stripe.com' and 'payments'. Stripe redirects you to the overview page instead of the individual payment detail page:

https://dashboard.stripe.com//payments/_thepaymentid_

To resolve you can change '/payments/' to 'payments/' on lines 371 & 372:

    $url_dashboard = array(
        'charge' => 'https://dashboard.stripe.com/'.$url_type.'/payments/'.$this->id_stripe,
        'paymentIntent' => 'https://dashboard.stripe.com/'.$url_type.'/payments/'.$this->id_payment_intent
    );
clotairer commented 2 years ago

Hi

Thank you for your report. We will check your suggestion on several PrestaShop versions.

Thank you !

clotairer commented 2 years ago

Hi,

You can download the (pre)release 2.4.3 or wait the avalability on PrestaShop Addons.

Thank you for your contribution.