UNPKG

payments

Version:

Lists various payment methods. Used by Wix Restaurants for payment configuration.

25 lines (18 loc) 637 B
import { simpleFormValuesToMerchant, simpleMerchantToFormValues } from '../adapters'; export default { id : 'com.worldpay.enterprise', form : [ {type : 'string', name : 'merchantCode'}, {type : 'string', name : 'merchantPassword'}, ], countries : [ 'BE', 'CH', 'DE', 'DK', 'ES', 'FI', 'FR', 'GB', 'HK', 'IE', 'IT', 'LU', 'NL', 'NO', 'SE', 'SG', 'US' ], fields: [], formValuesToMerchant : simpleFormValuesToMerchant, merchantToFormValues : simpleMerchantToFormValues, keyToMerchant : JSON.parse, merchantToKey : JSON.stringify, ranking: 2 };