Jump to content



Photo
- - - - -

Payment Apps and return url for 2.4


  • Please log in to reply
No replies to this topic

#1   Gyakutsuki

Gyakutsuki
  • Members
  • 599 posts
  • Real Name:Loic Richard
  • Gender:Male
  • Location:Montreal

Posted 06 April 2017 - 15:41

hello,

 

I will know if someone has been this thing or have an idea

 

I am trying to develop a new apps payment module and the bank ask me a call back url.

 

In my json I included this :

"modules": {

   "Payment": {
      "HO":	"Module\\Payment\\HO"
    }
  },
  "routes": {
    "Shop": {
      "order&desjardins&success&ho":	"Sites\\Shop\\Pages\\HO"
    }
  }

The normal call back url must be 

index.php?order&desjardins&success&ho

but in return I have this

index.php?A&Payment%5CDesjardins&index.php

The information of the receipt of desjardins is : index.php?order&desjardins&success&ho and is correct.

 

The pb come from desjardins when it redirect the link (index.php?order&desjardins&success&ho) ?

The pb come from a pb with the routes ?

 

When i look who's online I have this element : /boutique/index.php?order&desjardins&success&ho.

I am supposing the redirect url is correct but something wrong is make in the routes.

 

I don't understand why i have a wrong url.

 

Any idea to look or test ?


Regards

 

-----------------------------------------

Loïc

Contact me by skype for business

Contact me @gyakutsuki for an answer on the forum