Jump to content

Error: No Payment Gateway Variable Is Set!


Guest jamiejoe

Recommended Posts

Guest jamiejoe

Website: www.expressivethoughtsvinyl.com/store

CC version 3.0.17

After using PayPal Standard & IPN (Credit Card), when the payment has been processed and I click on "Return to Expressive Thoughts Vinyl" I get the "Error: No payment gateway variable is set!" The order is paid and everything.

In PayPal, my Auto Return for Website Payments is set to http://www.expressivethoughtsvinyl.com/store/confirmed.php

I've seen posts here and there about this, but none specifically for PayPal Standard & IPN, and the suggestions listed haven't worked.

Please help me!!!!

UPDATE:

I got past the "Error: No payment gateway variable is set!" by adding:

elseif($module['method']=="ipn"){

$hiddenVars .="<input type='hidden' name='return' value='".$GLOBALS['storeURL']."/confirmed.php?act=conf&amp;oid=".base64_encode($cart_order_id)."' />

<input type='hidden' name='cancel_return' value='".$GLOBALS['storeURL']."/confirmed.php?act=conf&amp;f=1&amp;oid=".base64_encode($cart_order_id)."' />

<input type='hidden' name='notify_url' value='".$GLOBALS['storeURL']."/modules/gateway/PayPal/ipn.php' />\r\n";

}

in my transfer.inc.php file, right after :

$hiddenVars .="<input type='hidden' name='return' value='".$GLOBALS['storeURL']."/confirmed.php?act=conf&amp;oid=".base64_encode($cart_order_id)."' />\r\n

<input type='hidden' name='cancel_return' value='".$GLOBALS['storeURL']."/confirmed.php?act=conf&amp;f=1&amp;oid=".base64_encode($cart_order_id)."' />";

}

Mentioning this for anyone else with this problem. Found info here: http://www.cubecartforums.org/docs/index.php?id=75

****UPDATE to my update****

Now it isn't working again! Anyone????

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...