Jump to content

Problems with payment gateway development


alexhava

Recommended Posts

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?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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