mirror of
https://gh.wpcy.net/https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-04-25 01:02:18 +08:00
19 lines
466 B
TypeScript
19 lines
466 B
TypeScript
/**
|
|
* External dependencies
|
|
*/
|
|
import { orders } from '@inpsyde/playwright-utils/build/e2e/plugins/woocommerce';
|
|
/**
|
|
* Internal dependencies
|
|
*/
|
|
import { merchants } from '.';
|
|
|
|
const country = process.env.WC_DEFAULT_COUNTRY || 'usa';
|
|
const currency = process.env.WC_DEFAULT_CURRENCY || 'USD';
|
|
const merchant = merchants[ country ];
|
|
|
|
for ( const order in orders ) {
|
|
orders[ order ].merchant = merchant;
|
|
orders[ order ].currency = currency;
|
|
}
|
|
|
|
export { orders };
|