Jump to content

Problem redirect order-confirmation PS


psg

Recommended Posts

Hi everyone, 

I have a problem with Prestashop. I have installed a POS to pay online, which when redirected, there are times that shows the web screen of order confirmation and others that do not, leading to order-history.

The URLs that do this are:

Redirect to order-history (session started ever):
https://www.domain.es/order-confirmation?key=73f4ea52668351499dc9e4da47ff3cdc&id_module=174&id_cart=76882&id_order=768825024&Ds_SignatureVersion=HMAC_SHA256_V1&Ds_MerchantParameters=eyJEc19EYXRlIjoiMjIlMkYwOCUyRjIwMTgiLCJEc19Ib3VyIjoiMDglM0E1MCIsIkRzX1NlY3VyZVBheW1lbnQiOiIxIiwiRHNfQW1vdW50IjoiMSIsIkRzX0N1cnJlbmN5IjoiOTc4IiwiRHNfT3JkZXIiOiIwMDA3Njg4MjUwMjQiLCJEc19NZXJjaGFudENvZGUiOiIxNDg2NjA1MjUiLCJEc19UZXJtaW5hbCI6IjAwMSIsIkRzX1Jlc3BvbnNlIjoiMDAwMCIsIkRzX1RyYW5zYWN0aW9uVHlwZSI6IjAiLCJEc19NZXJjaGFudERhdGEiOiIwLjAxJTNCMSUzQlBhZ28rY29uK3RhcmpldGEuK1BhZ28rc2VndXJvK2NvbitsYStlbnRpZGFkK2JhbmNhcmlhIiwiRHNfQXV0aG9yaXNhdGlvbkNvZGUiOiI2NDY5MTkiLCJEc19DYXJkX051bWJlciI6IjQxNjA4MSoqKioqKjUwMjMiLCJEc19FeHBpcnlEYXRlIjoiMjExMCIsIkRzX01lcmNoYW50X0lkZW50aWZpZXIiOiIzNGY1Njc2YmIxN2ExZTA5NDY2MDQzYWUzMjMxNjk5NDlmYjk0Yjc0IiwiRHNfQ29uc3VtZXJMYW5ndWFnZSI6IjEiLCJEc19DYXJkX0NvdW50cnkiOiI3MjQiLCJEc19DYXJkX0JyYW5kIjoiMSJ9&Ds_Signature=hxHBEHpavAR0jQw7EFbwzS9_h9D8AnqVDP6q4O6MJuM=

No redirect, showing order-confirmation (session started ever):
https://www.domain.es/order-confirmation?key=73f4ea52668351499dc9e4da47ff3cdc&id_module=174&id_cart=76876&id_order=768762340&Ds_SignatureVersion=HMAC_SHA256_V1&Ds_MerchantParameters=eyJEc19EYXRlIjoiMjIlMkYwOCUyRjIwMTgiLCJEc19Ib3VyIjoiMDIlM0EyMyIsIkRzX1NlY3VyZVBheW1lbnQiOiIxIiwiRHNfQW1vdW50IjoiMSIsIkRzX0N1cnJlbmN5IjoiOTc4IiwiRHNfT3JkZXIiOiIwMDA3Njg3NjIzNDAiLCJEc19NZXJjaGFudENvZGUiOiIxNDg2NjA1MjUiLCJEc19UZXJtaW5hbCI6IjAwMSIsIkRzX1Jlc3BvbnNlIjoiMDAwMCIsIkRzX1RyYW5zYWN0aW9uVHlwZSI6IjAiLCJEc19NZXJjaGFudERhdGEiOiIwLjAxJTNCMSUzQlBhZ28rY29uK3RhcmpldGEuK1BhZ28rc2VndXJvK2NvbitsYStlbnRpZGFkK2JhbmNhcmlhIiwiRHNfQXV0aG9yaXNhdGlvbkNvZGUiOiIzMDgzMjgiLCJEc19DYXJkX051bWJlciI6IjQxNjA4MSoqKioqKjUwMjMiLCJEc19FeHBpcnlEYXRlIjoiMjExMCIsIkRzX01lcmNoYW50X0lkZW50aWZpZXIiOiIxNzc5YWM2ZTFjODE3OWFhZWE4M2JlM2ZhZGE1YmI0MzViNGFjOWI5IiwiRHNfQ29uc3VtZXJMYW5ndWFnZSI6IjEiLCJEc19DYXJkX0NvdW50cnkiOiI3MjQiLCJEc19DYXJkX0JyYW5kIjoiMSJ9&Ds_Signature=3Q701JHIqvMVrpoI_q3d9If7dyK6UsltireDSP7o5-s=

 

I need the user, after pay, is stay in order-confirmation:

image.png.efd561d430ce2439dc64853b08f207d1.png

 

not in order-history:

image.png.a4b64461319d384fe80d94e2c5e3fe22.png

 

Is there any way to do it? Thank you

Edited by psg (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
On 26/8/2018 at 2:08 PM, shacker said:

try to use bankwire and check if has same issue. 

if yes, maybe is a timeout error when back to store. which ps version is?

 

Hi,

 

the Prestashop version is  1.6.0.9

 

The problem is Prestashop, I attach the Controller that use Prestashop for redirect when is buyed the product.

 

OrderConfirmationController.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...