
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
Re: [ic] Payment through PBS (Denmark)
Kaare Rasmussen <kar@webline.dk> writes:
> Thanks to Tobias Henle I now have a construct like this:
>
> >FORM ACTION="[if value payment_method eq credit] https://paymentgateway
> [else][process secure=1][/else][/if]" METHOD="POST" name=checkout>
>
> This will go to the Payment Gateway if credit card is selected. It's fine
> except that
> <SELECT NAME="payment_method" onChange="this.form.submit()">
> of course gives a problem now. Any workaround?
>
> I like this direct call because it saves me from using ssl unnecessarily on
> checkout.
Just a reload of the page instead of a submit is better after changing
the payment method. This JS hack may help you:
onChange="this.form.mv_todo.value='go';this.form.mv_nextpage.value='@@MV_PAGE@@';this.form.submit()">
Ciao
Racke
--
Racke happily hacks Interchange and maintains Debian packages like Courier.
For projects and other business stuff please refer to COBOLT NetServices
(URL: http://www.cobolt.net; Email: info@cobolt.net; Phone: 0041-1-3884400)
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users