
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Creating new payment methods
Hi
I'm trying to add two new payment methods to my shop.
To etc/variable.txt i´ve added for each method a accept line
e.g:
NEWMETHOD1_ACCEPTED 1 Payment
In the checkout page i' ve added the new method in the same way as the
existing methods. The html part is workin. when i change the method, i get
my newly created form listet correctly. But when i click on "Finalize
Order", the checkout page simply reloads, and the payment method is set back
to credit card.
No messsages appear in the error log or something.
Lines in checkout.html:
####
[if variable NEWMETHOD1_ACCEPTED]
<option [selected payment_method postal] value="NM">NewMethod
1
[/if]
#
[elsif value payment_method eq NM]
<input type=hidden name=mv_order_profile value=nw>
New Method 1
[/elsif]
#######
What do i have to change in addition ?
(I simply want that on the receipt the new payment method is mentioned (if
chosen).)
Unfortunately the interchange server gives no feedback (in e.g. logs).
thanx
mike
_______________________________________________
interchange-users mailing list
interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users