@@ -62,8 +62,8 @@ describe('CreditOneTimePayment: Check Credit Base Params Types', () => {
6262// const merchant = new Merchant('Test', TEST_MERCHANT_CONFIG);
6363
6464// const baseParams = {
65- // MerchantTradeNo: 'nodeecpayaio0001 ',
66- // MerchantTradeDate: '2021/04/25 16:21 :20',
65+ // MerchantTradeNo: 'nodeecpayaio0011 ',
66+ // MerchantTradeDate: '2021/05/22 11:20 :20',
6767// TotalAmount: 999,
6868// TradeDesc: 'node-ecpay-aio testing order for CreditOneTimePayment',
6969// ItemName: 'test item name',
@@ -76,7 +76,18 @@ describe('CreditOneTimePayment: Check Credit Base Params Types', () => {
7676// {}
7777// );
7878
79- // const html = await payment.checkout();
79+ // const html = await payment.checkout({
80+ // RelateNumber: 'rl-no',
81+ // TaxType: '1',
82+ // Donation: '0',
83+ // Print: '0',
84+ // InvoiceItemName: 'item1|item2',
85+ // InvoiceItemCount: '2|5',
86+ // InvoiceItemWord: '台|張',
87+ // InvoiceItemPrice: '100|50',
88+ // InvoiceRemark: '測試發票備註',
89+ // CustomerPhone: '0911111111',
90+ // });
8091// console.log(html);
8192// });
8293// });
0 commit comments