Parameter error in 2checkout 2co

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
B.Murali Krishna
Forum Commoner
Posts: 28
Joined: Fri May 12, 2006 2:05 am
Location: Hyderabad,India
Contact:

Parameter error in 2checkout 2co

Post by B.Murali Krishna »

feyd | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


Hello Friends,

I have a problem with 2checkout 2co payment gateway integration, i am getting parameter error in 2checkout, here is my parameters,

[syntax="html"]<form action="https://www.2checkout.com/2co/buyer/purchase" method="post">
<input type="hidden" name="sid" value="234567"/>
<input type="hidden" name="total" value="25.99"/>
<input type="hidden" name="cart_order_id" value="54656445454545"/>
<input type="hidden" name="return_url" value="http://www.mywebsite.com/credits_insert.php" />
<input type="hidden" name="merchant_order_id" value="324232323232323" />
<input type="hidden" name="pay_method" value="CC" />

<input type="submit" value="Continue" name="submit" class="btn" />
</form>

can anybody tell me what went wrong,

Thank U

Murali Krishna


feyd | Please use[/syntax]

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Last edited by B.Murali Krishna on Mon Apr 09, 2007 5:02 am, edited 1 time in total.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Probably..

Code: Select all

<input type="hidden" name="cart_order_id" value="{$date}"/> 
{$date}
B.Murali Krishna
Forum Commoner
Posts: 28
Joined: Fri May 12, 2006 2:05 am
Location: Hyderabad,India
Contact:

Post by B.Murali Krishna »

astions wrote:Probably..

Code: Select all

<input type="hidden" name="cart_order_id" value="{$date}"/> 
{$date}
Thanks for reply, but it is smarty variable no prob. with that, now i changed to static value but same error.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

B.Murali Krishna, you've ignored the private message(s) so now this one is public.
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.

Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.
Post Reply