Jump to content

alexhava

Member
  • Posts

    2
  • Joined

  • Last visited

About alexhava

alexhava's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. 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?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated