Post by darth_danny » Tue Aug 09, 2016 5:44 pm

Hi

With my custom payment module, the gateway I am posting to expects a query string with specific parameters in the callback URL. In my post form I have the callback URL as:

Code: Select all

  <input type="hidden" name="return"    value="<?php echo $notify_url; ?>?unique_transaction_id=0&transaction_reference=0&item_number='<?php echo $orderid; ?>'" />

The parameters are required by the gateway as it assigns values to them and posts them back. My problem is because of the query string parameters I get a "Page not found error" as the return url looks like,

http://beta.orderuganda.com/index.php? ... 344255%27

How can I have a query string with the callback URL?

New member

Posts

Joined
Wed Jul 27, 2016 5:41 pm

Post by darth_danny » Tue Aug 09, 2016 5:56 pm

Hi

Solved it. Replaced "?" with "&"

New member

Posts

Joined
Wed Jul 27, 2016 5:41 pm
Who is online

Users browsing this forum: No registered users and 5 guests