[ic] Checkout one page with confirmation, problem with credit card

David Bordas bordas at testadaz.com
Sun Oct 7 12:04:25 EDT 2007


Hi,

I'm trying to add a new order page (confirmation) after checkout one page process.
Credit card payment system seems not to work until confirmation page is added.
Paybox.html page is not call. :(

Details :
With one page checkout.html page, all is working (offline and CC) :
--------------------------------
[..]
<form action="[process secure=1]" method="POST" name=checkout>
<input type=hidden NAME=mv_session_id value="[data session id]">
<input type=hidden NAME=mv_doit       value=refresh>
<input type=hidden NAME=mv_nextpage   value="ord/checkout">
<input type=hidden name=mv_check      value="Save_database">
[...]
<input type=hidden name=country_reset value="">
[if value mv_order_profile eq paybox_profile]
	<!-- paybox_profile : I choose credit card ! -->
	[button
	                name="mv_click"
	                src="__IMAGE_DIR__/__THEME__/place_order.gif"
	                text="Place Order"
	                hidetext=1
	                form=checkout]
	                mv_todo=submit
	                mv_successpage=../special_pages/paybox
	[/button]

[else]
	<!-- offline -->
	[button
                        name="mv_click"
                        src="__IMAGE_DIR__/__THEME__/place_order.gif"
                        text="Place Order"
                        hidetext=1
                        form=checkout]
                        mv_todo=submit
        [/button]
[/else]
[/if]
</form>
[..]

--------------------------------

With one page checkout.html page, then a confirmation page, this was not
working for paybox_profile and i can't figure why.
But offline is working...

Details of checkout_new.html :
--------------------------------
[..]
<form action="[area href="ord/next_step" secure=1]" method="POST" name=checkout>
<input type=hidden NAME=mv_session_id    value="[data session id]">
<input type=hidden NAME=mv_action        value=return>
<input type=hidden NAME=mv_nextpage      value="ord/checkout_confirm">
<input type=hidden NAME=mv_failpage      value="ord/checkout_new">
<input type=hidden name=mv_form_profile  value="Check_checkout_onepage">
[...]

<input type="image" src="__IMAGE_DIR__/__THEME__/place_order.gif">
</form>
[..]

And then checkout_confirm :
--------------------------------
[..]
<form action="[area href="ord/checkout_confirm" secure=1]" method="POST"
name=checkout>
<input type=hidden NAME=mv_session_id    value="[data session id]">
<input type=hidden NAME=mv_action        value=refresh>
<input type=hidden NAME=mv_nextpage      value="ord/checkout_confirm">
<input type=hidden NAME=mv_failpage      value="ord/checkout_confirm">
[...]
[if value mv_order_profile eq paybox_profile]
	[button
                        name="mv_click"
                        src="__IMAGE_DIR__/__THEME__/place_order.gif"
                        text="Poursuivre"
                        hidetext=1
                        form=checkout]
                        mv_todo=submit
                        mv_successpage=../special_pages/paybox
        [/button]
<b>Ok i'm here, i want credit !!</b>
[else]
	[button
                        name="mv_click"
                        src="__IMAGE_DIR__/__THEME__/place_order.gif"
                        text="Poursuivre
                        hidetext=1
                        form=checkout]
                        mv_todo=submit
        [/button]
<b>always offline...</b>
[/else]
[/if]
</form>
[..]
--------------------------------

String "Ok i'm here, i want credit !!" is displayed, so mv_order_profile is
set to paybox_profile that's good.
But offline method is always launched. Error logs are not displayed anything...

Did someone have an idea ? I think i've done something wrong, but i can't see
what it is.
I looking for this error since several days without any solutions.

Thank you.
David



More information about the interchange-users mailing list