Page 1 of 1

Parameter error in 2checkout 2co

Posted: Mon Apr 09, 2007 3:56 am
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]

Posted: Mon Apr 09, 2007 4:04 am
by Benjamin
Probably..

Code: Select all

<input type="hidden" name="cart_order_id" value="{$date}"/> 
{$date}

Posted: Mon Apr 09, 2007 5:02 am
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.

Posted: Mon Apr 09, 2007 8:31 am
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.