• Welcome to KonaKart Community Forum. Please login or sign up.
 

Values for shipping_module_code and Payment_module_code in Orders table?

Started by dnavarro, January 20, 2010, 12:25:12 pm

Previous topic - Next topic

dnavarro

Hi,

  Which values can be used in orders.shipping_module_code and orders.payment_module_code?.

  In the documentation we can read that those values are set automatically by the payment module.



  Best regards,

    David Navarro.

trevor

Each payment or shipping module has a unique code which is written into these attributes.

dnavarro



Quote from: trevor on January 20, 2010, 12:35:17 pm
Each payment or shipping module has a unique code which is written into these attributes.



Do you know those codes for the each payment or shipping modules in Konakart community edition (ver 4.1.0)?.


Best regards,

  David Navarro.


trevor


heidi

You can find the codes in the source files that are included under modules in your download package:

C:\Program Files\Kona4100c\custom\modules\src\com\konakart\bl\modules>findstr /s /n /c:"String code =" *.java
ordertotal\productdiscount\ProductDiscount.java:61:    private static String code = "ot_product_discount";
ordertotal\shipping\Shipping.java:47:    private static String code = OrderTotalMgr.ot_shipping;
ordertotal\subtotal\Subtotal.java:48:    private static String code = OrderTotalMgr.ot_subtotal;
ordertotal\tax\Tax.java:48:    private static String code = OrderTotalMgr.ot_tax;
ordertotal\total\Total.java:46:    private static String code = OrderTotalMgr.ot_total;
ordertotal\totaldiscount\TotalDiscount.java:60:    private static String code = "ot_total_discount";
payment\authorizenet\Authorizenet.java:57:    private static String code = "authorizenet";
payment\bluepay\Bluepay.java:52:    private static String code = "bluepay";
payment\chronopay\Chronopay.java:50:    private static String code = "chronopay";
payment\cod\Cod.java:46:    private static String code = "cod";
payment\elink\Elink.java:48:    private static String code = "elink";
payment\epaybg\Epaybg.java:54:    private static String code = "epaybg";
payment\payjunction\Payjunction.java:57:    private static String code = "payjunction";
payment\paypal\Paypal.java:64:    private static String code = "paypal";
payment\usaepay\Usaepay.java:51:    private static String code = "usaepay";
payment\worldpay\Worldpay.java:53:    private static String code = "worldpay";
payment\yourpay\Yourpay.java:61:    private static String code = "yourpay";
shipping\digitaldownload\DigitalDownload.java:50:    private static String code = "digitaldownload";
shipping\fedex\Fedex.java:143:    private static String code = "fedex";
shipping\fedex\Fedex.java:1407:                String code = codeArray[i];
shipping\flat\Flat.java:55:    private static String code = "flat";
shipping\free\Free.java:48:    private static String code = "free";
shipping\freeproduct\FreeProduct.java:52:    private static String code = "freeproduct";
shipping\item\Item.java:57:    private static String code = "item";
shipping\table\Table.java:60:    private static String code = "table";
shipping\ups\Ups.java:123:    private static String code = "ups";
shipping\ups\Ups.java:1304:                String code = codeArray[i];
shipping\usps\Usps.java:176:    private static String code = "usps";
shipping\usps\Usps.java:1168:                String code = codeArray[i];
shipping\uspsint\Uspsint.java:140:    private static String code = "uspsint";
shipping\uspsint\Uspsint.java:1185:                String code = codeArray[i];
shipping\zones\Zones.java:63:    private static String code = "zones";

--Heidi

dnavarro