alexhava Posted January 30, 2015 Share Posted January 30, 2015 Hi I am trying to complete my own gateway. So I downloaded and modified template file by instruction. Then when I try to complete a test payment it redirects me to "..../cart.php?description=Company+Name+-+Invoice+%234&invoiceid=4&amount=123.00" instead of my url which I set in the form. Here is my form $code = '<form method="'.$res['result']->redirect_url.'"> <input type="hidden" name="description" value="'.$description.'" /> <input type="hidden" name="invoiceid" value="'.$invoiceid.'" /> <input type="hidden" name="amount" value="'.$amount.'" /> <input type="submit" value="Pay Now" /> </form>'; return $code; So I expect that it will be redirected to $res['result']->redirect_url instead of back to the cart. Can anyone help me? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.