Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Forwarding Payment Module- Help

Recommended Posts

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


Link to comment
Share on other sites

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 >

Link to comment
Share on other sites



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.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...