Currently Super Orders doesn't support "true" internationalization for payment types. While we've not done a full analysis of what would be needed to implement this, I imagine that to do this would not only require some re-write/modification of the current Super Orders code, but also a good deal of the core Zen Cart code and possibly some of the payment modules code would have to modified as well to fully implement this..

However, (as the readme indicates) it's easy enough to enter new payment types or modify existing payment types in Super Orders from the Zen Cart admin.. However, in doing this you should note that your new payment types will simply be included in the payment types dropdown. They will not be automatically selected when language 2 is selected.

Additionally for credit card payments (Visa MC, AMEX, etc), Super Orders automatically enters a payment record for payments made with credit cards. It does this when the payment type code matches the credit card type code in the default Zen Cart credit card class file. So if you modify the existing payment types for any of the credit cards take care NOT to modify the payment type code. just modify the display name. You won't create errors if you modify the payment type code, it's just that the automatic payment entry simply won't work and you will have to manually enter a payment record for the order (like you must do for orders paid by checks, money order, etc).

Quote Originally Posted by orange_juice View Post
Hallo!

Code:
INSERT INTO so_payment_types VALUES (NULL, 1, 'CA', 'Cash');
INSERT INTO so_payment_types VALUES (NULL, 1, 'CK', 'Check');
INSERT INTO so_payment_types VALUES (NULL, 1, 'MO', 'Money Order');
INSERT INTO so_payment_types VALUES (NULL, 1, 'ADJ', 'Adjustment');
INSERT INTO so_payment_types VALUES (NULL, 1, 'CC', 'Credit Card');
INSERT INTO so_payment_types VALUES (NULL, 1, 'MC', 'Master Card');
INSERT INTO so_payment_types VALUES (NULL, 1, 'VISA', 'Visa');
INSERT INTO so_payment_types VALUES (NULL, 1, 'AMEX', 'American Express');
INSERT INTO so_payment_types VALUES (NULL, 1, 'DISC', 'Discover');
This works great for an one-language site.

How could I update the database to get it working on an bilingual site?

I do not really care about the translation. I just need the drop down menu to show the same options if language 2 is selected in the admin area.

I tried

Code:
INSERT INTO so_payment_types VALUES (NULL, 2, 'CA', 'Cash');
INSERT INTO so_payment_types VALUES (NULL, 2, 'CK', 'Check');
INSERT INTO so_payment_types VALUES (NULL, 2, 'MO', 'Money Order');
INSERT INTO so_payment_types VALUES (NULL, 2, 'ADJ', 'Adjustment');
INSERT INTO so_payment_types VALUES (NULL, 2, 'CC', 'Credit Card');
INSERT INTO so_payment_types VALUES (NULL, 2, 'MC', 'Master Card');
INSERT INTO so_payment_types VALUES (NULL, 2, 'VISA', 'Visa');
INSERT INTO so_payment_types VALUES (NULL, 2, 'AMEX', 'American Express');
INSERT INTO so_payment_types VALUES (NULL, 2, 'DISC', 'Discover');
but this failed as duplicate entry in the database.

Will the operation of super orders be impaired if I enter new codes in the payment_type_code in order to cater for the translation?

Otherwise, how could I make it work when I choose my second admin language?

Kind regards,
orange_juice