Jump to content

- - - - -

Forwarding Payment Module- Help

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1   cruisecontrol2010

  • Members
  • 43 posts

Posted 02 June 2012 - 14:28

I have a payment module and want to use it on 2 sites. The merchant companys gateway is returning the customer back to my site instead of forwarding to the payment page on the merchant companys site.

when forwarded back to my site, customers see:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/site/payment-result.php:1) in /site/includes/functions/sessions.php on line 102

Your Payment Result Is: Declined

This is before they can even get to the merchant payment page.

The process should be

customer form site 1 > sends to site 2 > site 2 sends 2 payment gateway

any help will be appreciated

#2   germ

  • Members
  • 13,921 posts

Posted 02 June 2012 - 14:31

Click the "Headers already sent" link in my signature.
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -

"Headers already sent" - The definitive help

"Cannot redeclare ..." - How to find/fix it

SSL Implementation Help

Like this post? "Like" it again over there >

#3   DunWeb


    The Censored One

  • Members
  • 13,084 posts

Posted 02 June 2012 - 14:35


You can't forward from one site to another and then to the payment gateway. You have to have BOTH sites set up to use the payment gateway. Each of which will use the same payment credentials.

:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)