2 checkout payment problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
karthi2009
Forum Newbie
Posts: 6
Joined: Fri Jan 02, 2009 4:42 am
Location: Tamilnadu, India

2 checkout payment problem

Post by karthi2009 »

<form action="https://www.2checkout.com/2co/buyer/purchase" name="payment_form" id="payment_form" method="post">
<input type="hidden" name="total" value="229.00">
<input type="hidden" name="street_address" value="<?php echo $Address;?>">
<input type="hidden" name="city" value="<?php echo $City;?>">
<input type="hidden" name="state" value="<?php echo $County;?>">
<input type="hidden" name="zip" value="<?php echo $PostalCode;?>">
<input type="hidden" name="country" value="IN">
<input type="hidden" name="tco_currency" value="<?php echo Currencyvalue();?>">
<input type="hidden" name="email" value="<?php echo $EmailID;?>">
<input type="hidden" name="phone" value="<?php echo $Contactno;?>">
<input type="hidden" name="ship_name" value="<?php print $Firstname;?>">
<input type="hidden" name="id_type" value="1">

</form>

this script i am using but no return url in my site.

transaction success or failure, how to know any body help me
User avatar
Apollo
Forum Regular
Posts: 794
Joined: Wed Apr 30, 2008 2:34 am

Re: 2 checkout payment problem

Post by Apollo »

Check out their manual. Doesn't the 2checkout documentation explain how to specify your return URL?
Post Reply