export var sdkAction1 = {
  notSupportRetryPayForSameSession: false,
  accountInfo: {
    accountStatus: 'EFFECTIVE',
    email: 'test10@test.com'
  },
  amountConfirmRequired: false,
  autoDebitWithToken: false,
  errorActions: {},
  extendInfo: {},
  links: {
    privacyLink: 'https://render.alipay.com/p/c/180021490000000150/index.html?agreementId=GL00100002',
    cookieLink: 'https://render.alipay.com/p/c/180021490000000147/index.html?agreementId=GL00100001'
  },
  needInstallmentAbility: false,
  needOtherElements: true,
  openPopPaymentRetryAbility: 'Y',
  orderAmount: {
    amount: '289.86',
    currency: 'USD',
    currencyLabel: 'US $',
    formattedAmount: '289.86',
    formattedAmountWithCurrency: 'US $289.86',
    value: '28986'
  },
  orderAmountView: {
    currency: 'USD',
    currencyDivider: ' ',
    currencyLabel: '$',
    currencySymbolPosition: 'L',
    formattedValue: '289.86',
    value: '289.86'
  },
  paymentAmount: {
    amount: '289.86',
    currency: 'USD',
    currencyLabel: 'US $',
    formattedAmount: '289.86',
    formattedAmountWithCurrency: 'US $289.86',
    value: '28986'
  },
  paymentAmountView: {
    currency: 'USD',
    currencyDivider: ' ',
    currencyLabel: '$',
    currencySymbolPosition: 'L',
    formattedValue: '289.86',
    value: '289.86'
  },
  paymentMethods: [{
    antomPage: 'paymentMetaPage',
    category: 'CARD',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/07/15/c77c0d3d-a3d0-48ad-8a40-cb3e777a2608.svg',
    iconName: 'Card',
    links: [],
    logoList: [{
      cardBrand: 'VISA',
      logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/7/2/fb4ab30f-8f49-4632-8bb1-fd64b2f21861.svg'
    }, {
      cardBrand: 'MASTERCARD',
      logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/05/15/e9fc0f9a-14cb-4c32-9039-a746afa1a815.svg'
    }, {
      cardBrand: 'CARTEBANCAIRE',
      logoUrl: 'https://cdn.marmot-cloud.com/storage/2024/2/23/dc4e43c8-0de1-421b-92b2-3c85f5f5a209.svg'
    }],
    paymentElements: [{
      defaultValue: '',
      elementMandatory: false,
      elementType: 'DIGIT_32',
      extendInfo: '{"needOtherElements":true,"isTempTokenization":"true"}',
      paymentElementKey: 'paymentMethodId',
      subPaymentElementView: [{
        defaultText: 'Card number',
        defaultValue: '',
        elementMandatory: true,
        elementRegx: '^\\d{14,19}$',
        elementType: 'DIGIT_18',
        extendInfo: '{"completeKey":"cc-number"}',
        paramIllegalText: 'Enter a valid 14- to 19-digit card number.',
        paymentElementKey: 'cardNo',
        title: 'Enter card number',
        validateFunction: '^\\d{14,19}$'
      }, {
        defaultText: 'Exp date (MM/YY)',
        defaultValue: '',
        elementMandatory: true,
        elementType: 'DIGIT_4',
        extendInfo: '{"completeKey":"cc-exp"}',
        isPart: 'true',
        paramIllegalText: 'Enter a valid expiry date.',
        paymentElementKey: 'expiryYear'
      }, {
        defaultText: 'Exp date (MM/YY)',
        defaultValue: '',
        elementMandatory: true,
        elementType: 'DIGIT_4',
        extendInfo: '{"completeKey":"cc-exp"}',
        isPart: 'true',
        paramIllegalText: 'Enter a valid expiry date.',
        paymentElementKey: 'expiryMonth'
      }, {
        defaultText: 'CVV',
        defaultValue: '',
        elementMandatory: true,
        elementRegx: '^\\d{3,4}$',
        elementType: 'TEXT',
        extendInfo: '{}',
        isPartEnd: 'true',
        paramIllegalText: 'Enter a valid 3- or 4-digit CVV number.',
        paymentElementKey: 'cardCVV',
        validateFunction: '^\\d{3,4}$'
      }, {
        defaultText: 'Name on card',
        defaultValue: '',
        elementMandatory: true,
        elementRegx: '^[\\w\\s]{1,128}$',
        elementType: 'TEXT',
        extendInfo: '{"completeKey":"cc-name"}',
        paramIllegalText: 'Enter cardholder name as displayed on the card.',
        paymentElementKey: 'cardHolderName',
        validateFunction: '^[\\w\\s]{1,128}$'
      }],
      title: 'Card information'
    }],
    paymentMethod: 'CARD',
    paymentMethodName: 'Card',
    paymentMethodType: 'CARD',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/8c2df293-4ff8-4a1c-bd39-457c26937acb.svg',
    iconName: 'Rabbit LINE Pay',
    interActionType: 'REDIRECT',
    paymentMethodName: 'Rabbit LINE Pay',
    paymentMethodType: 'RABBIT_LINE_PAY',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/72aa8973-7638-4f3f-b657-7af0ae02e6cf.svg',
    iconName: 'BPI',
    interActionType: 'REDIRECT',
    paymentMethodName: 'BPI',
    paymentMethodType: 'BPI',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: true,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/5b829130-42d9-46e7-a23d-6774f7352900.svg',
    iconName: 'Alipay',
    interActionType: 'REDIRECT',
    paymentMethodName: 'Alipay',
    paymentMethodType: 'ALIPAY_CN',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/ed012d1a-06c4-4606-a493-0d81ead685b6.svg',
    iconName: 'Akulaku PayLater',
    interActionType: 'REDIRECT',
    paymentMethodName: 'Akulaku PayLater PH',
    paymentMethodType: 'AKULAKU_PAYLATER_PH',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/ed012d1a-06c4-4606-a493-0d81ead685b6.svg',
    iconName: 'Akulaku PayLater',
    interActionType: 'REDIRECT',
    paymentMethodName: 'Akulaku PayLater',
    paymentMethodType: 'AKULAKU_PAYLATER',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/fcf9ba5e-b2b4-4c33-a041-f21bcf1539e4.svg',
    iconName: 'BillEase',
    interActionType: 'REDIRECT',
    paymentMethodName: 'BILLEASE',
    paymentMethodType: 'BILLEASE',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/dfcedf07-3135-49b6-9e39-6ab89b5ba5a1.svg',
    iconName: 'Kredivo',
    interActionType: 'REDIRECT',
    paymentMethodName: 'KREDIVO',
    paymentMethodType: 'KREDIVO_ID',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/6c7baedf-cb9e-47b1-8c2e-d2477b0d3018.svg',
    iconName: 'Toss Pay',
    interActionType: 'REDIRECT',
    paymentMethodName: 'Toss Pay',
    paymentMethodType: 'TOSSPAY',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/89c1063e-c7d3-4b60-82a0-6e4c40426612.svg',
    iconName: 'Kakao Pay',
    interActionType: 'REDIRECT',
    paymentMethodName: 'KAKAOPAY',
    paymentMethodType: 'KAKAOPAY',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/46ac203c-21fd-4feb-80c6-fd19faf1a9b7.svg',
    iconName: 'GCash',
    interActionType: 'REDIRECT',
    paymentMethodName: 'GCash',
    paymentMethodType: 'GCASH',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/8409ec96-3153-4d31-9bcb-a6b60f6ce11f.svg',
    iconName: 'Boost',
    interActionType: 'REDIRECT',
    paymentMethodName: 'Boost',
    paymentMethodType: 'BOOST',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/dd81e7d9-d845-434e-95b8-87b726d44aa4.svg',
    iconName: 'DOKU',
    interActionType: 'REDIRECT',
    paymentMethodName: 'DOKU',
    paymentMethodType: 'DOKU',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/2ec693a8-2c42-4efe-8acd-efdeeabd3210.svg',
    iconName: 'K PLUS',
    interActionType: 'REDIRECT',
    paymentMethodName: 'KPLUS',
    paymentMethodType: 'KPLUS',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/82288753-bc33-4f4c-9c07-e54c5da5c8f8.svg',
    iconName: "Touch'n Go eWallet",
    interActionType: 'REDIRECT',
    paymentMethodName: 'TNG',
    paymentMethodType: 'TNG',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/db94babb-71db-42c4-80be-a65de641631a.svg',
    iconName: 'NAVER Pay',
    interActionType: 'REDIRECT',
    paymentMethodName: 'NAVER Pay',
    paymentMethodType: 'NAVERPAY',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/5b1ec246-b49f-4390-b356-3af2af5acf09.svg',
    iconName: 'TrueMoney',
    interActionType: 'REDIRECT',
    paymentMethodName: 'TrueMoney Wallet',
    paymentMethodType: 'TRUEMONEY',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/97dbcec8-7bdd-464b-b49a-5d9af6d98c0b.svg',
    iconName: 'AlipayHK',
    interActionType: 'REDIRECT',
    paymentMethodName: 'ALIPAY_HK',
    paymentMethodType: 'ALIPAY_HK',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }, {
    antomPage: 'paymentMetaPage',
    category: 'AC_WALLET',
    expressCheckout: false,
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/6148dd94-9d28-43d5-9073-c99bfb8e7ace.svg',
    iconName: 'DANA',
    interActionType: 'REDIRECT',
    paymentMethodName: 'DANA',
    paymentMethodType: 'DANA',
    recommend: false,
    webRedirectType: 'PAGE_REFRESH'
  }],
  redirectUrl: 'https://www.baidu.com',
  savedPaymentMethods: [],
  shippingInfo: {
    shippingAddress: {
      address1: "06  Raffles  Place  Cecil  Marina  People's  Park",
      address2: 'USD',
      city: '',
      region: 'SG',
      state: '',
      zipCode: '068898'
    },
    shippingFee: {
      amount: '1.00',
      currency: 'USD',
      currencyLabel: 'US $',
      formattedAmount: '1.00',
      formattedAmountWithCurrency: 'US $1.00',
      value: '100'
    },
    shippingFeeView: {
      currency: 'USD',
      currencyDivider: ' ',
      currencyLabel: '$',
      currencySymbolPosition: 'L',
      formattedValue: '1.00',
      value: '1.00'
    },
    shippingName: {
      firstName: 'swd',
      lastName: ''
    },
    shippingPhoneNo: '+651234571'
  },
  success: true
};
export var sdkAction2 = {
  success: false
};
export var sdkAction = sdkAction1;
export var oneAccount1 = {
  accountInfo: {
    accountStatus: 'EFFECTIVE',
    email: 'test10@test.com',
    oneAccountId: '20241107190000000200000000000079939'
  },
  actionForm: {
    challengeAutoTriggered: false,
    challengeRetrySupported: true,
    estimatedDuration: 0,
    resendLeftTimes: 0
  },
  errorActions: {},
  extendInfo: {},
  paymentMethods: [{
    paymentMethodType: 'CARD',
    iconName: 'VISA',
    icon: 'https://cdn.marmot-cloud.com/storage/2022/8/2/bc7cb991-c8e2-4379-945f-aadae2bdf932.svg',
    paymentMethodId: 'card-id',
    paymentMethodDetail: {
      last4: '**** 1233'
    }
  }, {
    paymentMethodType: 'CARD',
    iconName: 'VISA2',
    icon: 'https://cdn.marmot-cloud.com/storage/2022/8/2/bc7cb991-c8e2-4379-945f-aadae2bdf932.svg',
    paymentMethodId: 'card-id2',
    paymentMethodDetail: {
      last4: '**** 1235'
    }
  }],
  shippings: [{
    notes: '',
    prefer: '1',
    shippingAddress: {
      address1: "06  Raffles  Place  Cecil  Marina  People's  Park",
      address2: 'USD',
      city: '',
      region: 'SG',
      state: '',
      zipCode: '068898'
    },
    shippingId: '20241109190000000600000000009947475',
    shippingName: {
      firstName: 'swd',
      lastName: ''
    },
    shippingPhoneNo: '+651234571',
    userId: '20241107190000000300000000010741992'
  }],
  success: true
};
export var oneAccount2 = {
  accountInfo: {
    email: 'xxxxx@163.com',
    accountStatus: 'UNREGISTERED'
  },
  goods: {
    goodsName: 'xxxxx@163.com',
    goodsImageUrl: '',
    goodsQuantity: 100,
    goodsUnitAmount: {
      currency: 'EUR',
      value: 100,
      currencyLabel: ''
    }
  },
  paymentMethods: [],
  links: {
    privacyLink: 'https://global.alipay.com/docs/ac/Platform/bahzqeb-',
    cookieLink: 'https://global.alipay.com/docs/ac/Platform/x1rhufzj'
  },
  metaData: {
    countryList: [{
      countryName: 'China',
      default: true
    }, {
      countryName: 'Singapore',
      default: false
    }]
  },
  errorActions: {},
  extendInfo: {},
  merchantId: '111xT8bLnciQgqcy20+oOJoWUEbPMTwI0YILNBIicpASIs=',
  needInstallmentAbility: false,
  needOtherElements: false,
  orderDescription: 'AMSDM_GIFT',
  success: true,
  supportedLanguages: [{
    locale: 'en_US',
    preferred: true,
    title: 'English'
  }, {
    country: 'BR',
    locale: 'pt_BR',
    preferred: false,
    title: 'Português'
  }, {
    country: 'KR',
    locale: 'ko_KR',
    preferred: false,
    title: '한국어'
  }, {
    country: 'MX,CL,PE',
    locale: 'es_ES',
    preferred: false,
    title: 'Español'
  }]
};
export var oneAccount = oneAccount1;
// export const oneAccount = oneAccount2;

export var paymentResult = {
  success: true,
  data: {
    success: true,
    data: {
      paymentSessionData: 'y8YCw0/4HDCCF16rRvzkONkNdJkJuZmuZHZdDdekdqfEMzKn7ovplH0mL2gd4/h9rS/7yIwWdw2wA+eg7ydx9Q==&&SG&&188&&eyJhY3Rpb24iOnsibmVlZFZlcmlmeUFuZFJlc3VtZSI6ZmFsc2UsInNraXBTZGtRdWVyeSI6ZmFsc2V9LCJjbGllbnRJZCI6IjVKNVk5MjBMMlkySjZFMDIxODIiLCJjb25uZWN0RmFjdG9yIjp7ImVuYWJsZUNvbm5lY3QiOnRydWV9LCJleHRlbmRJbmZvIjoie1wiZXhwcmVzc0NoZWNrb3V0XCI6XCJmYWxzZVwiLFwidmVyc2lvbk1hcFwiOlwie1xcXCJ3ZWJcXFwiOntcXFwiMS4xLjBcXFwiOntcXFwidGFyZ2V0V2ViVmVyaXNvblxcXCI6XFxcIjEuMS4wXFxcIn0sXFxcIjEuMi4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjIuMFxcXCJ9fSxcXFwiaU9TXFxcIjp7XFxcIjEuMS4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjEuMFxcXCJ9LFxcXCIxLjIuMFxcXCI6e1xcXCJ0YXJnZXRXZWJWZXJpc29uXFxcIjpcXFwiMS4yLjBcXFwifX0sXFxcIkFuZHJvaWRcXFwiOntcXFwiMS4xLjBcXFwiOntcXFwidGFyZ2V0V2ViVmVyaXNvblxcXCI6XFxcIjEuMS4wXFxcIn0sXFxcIjEuMi4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjIuMFxcXCJ9fX1cIn0iLCJwYXltZW50U2Vzc2lvbkNvbmZpZyI6eyJwYXltZW50TWV0aG9kQ2F0ZWdvcnlUeXBlIjoiQUxMIiwicHJvZHVjdFNjZW5lIjoiRUxFTUVOVF9QQVlNRU5UIiwicHJvZHVjdFNjZW5lVmVyc2lvbiI6IjEuMCJ9fQ==',
      paymentSessionConfig: {
        paymentMethodCategoryType: 'ALL',
        productScene: 'ELEMENT_PAYMENT',
        productSceneVersion: '1.0'
      },
      paymentMethod: {
        paymentMethodType: 'CARD',
        category: '',
        paymentMethodDetail: {
          logoUrl: 'https://cdn.marmot-cloud.com/storage/2022/9/26/dfd471f3-da7d-4ef1-8486-cfa4301045c6.svg',
          cardBrand: 'VISA',
          last4: '5914',
          logoName: '**** ****5914'
        }
      },
      paymentFactors: {
        paymentMethodId: '20240715190000000400000002801015427',
        paymentRedirectUrl: 'undefined/threed-page/index.html?sessionData=qv%2BMhtbdDKi7lGsorcg3h0SdB63hZsQlO0u5acUqsPL8cSDIEz%2FUDOlvezwHlDWQm%2F5RqaM%2FR9IZxWbuV58%2BnA%3D%3D%26%26SG%26%26188%26%26eyJhY3Rpb24iOnsibmVlZFZlcmlmeUFuZFJlc3VtZSI6ZmFsc2UsInNraXBTZGtRdWVyeSI6ZmFsc2V9LCJjbGllbnRJZCI6IjVKNVk5MjBMMlkySjZFMDIxODIiLCJjb25uZWN0RmFjdG9yIjp7ImVuYWJsZUNvbm5lY3QiOnRydWV9LCJleHRlbmRJbmZvIjoie1wiZXhwcmVzc0NoZWNrb3V0XCI6XCJmYWxzZVwiLFwidmVyc2lvbk1hcFwiOlwie1xcXCJ3ZWJcXFwiOntcXFwiMS4xLjBcXFwiOntcXFwidGFyZ2V0V2ViVmVyaXNvblxcXCI6XFxcIjEuMS4wXFxcIn0sXFxcIjEuMi4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjIuMFxcXCJ9fSxcXFwiaU9TXFxcIjp7XFxcIjEuMS4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjEuMFxcXCJ9LFxcXCIxLjIuMFxcXCI6e1xcXCJ0YXJnZXRXZWJWZXJpc29uXFxcIjpcXFwiMS4yLjBcXFwifX0sXFxcIkFuZHJvaWRcXFwiOntcXFwiMS4xLjBcXFwiOntcXFwidGFyZ2V0V2ViVmVyaXNvblxcXCI6XFxcIjEuMS4wXFxcIn0sXFxcIjEuMi4wXFxcIjp7XFxcInRhcmdldFdlYlZlcmlzb25cXFwiOlxcXCIxLjIuMFxcXCJ9fX1cIn0iLCJwYXltZW50U2Vzc2lvbkNvbmZpZyI6eyJwYXltZW50TWV0aG9kQ2F0ZWdvcnlUeXBlIjoiQUxMIiwicHJvZHVjdFNjZW5lIjoiRUxFTUVOVF9QQVlNRU5UIiwicHJvZHVjdFNjZW5lVmVyc2lvbiI6IjEuMCJ9fQ%3D%3D&displayType=inline&locale=&instanceId=f84f56e3-35ca-450a-b9b5-de93ac752e0e&appMatched=false&analyticsEnabled=true&sdkVersion=1.21.0&refUrl=http%3A%2F%2Flocalhost%3A5174%2Fdemo%2Fsrc%2Fpages%2Fconnect-element-dev%2Findex.html%3Fenvironment%3Ddev%26_moreEnv%3Dtrue%26requestHost%3Dhttp%3A%2F%2Fimgs-9993.sggz00b.dl.alipaydev.com%2Fmgw.htm%26groupId%3DGROUP_20240816101823&_componentStartTime=1728642669250&isPreload=&hostSign=SG&requestHost=http%3A%2F%2Fimgs-9993.sggz00b.dl.alipaydev.com%2Fmgw.htm&groupId=GROUP_20240816101823&scene=callbackPage'
      },
      autofillConnectInfo: false
    }
  },
  source: 'PAYMENT_ELEMENT',
  target: 'CONTAINER_ELEMENT'
};
export var submitResult = {
  actionForm: {
    actionFormType: 'RedirectActionForm',
    method: 'GET',
    normalUrl: 'https://open-sea.alipayplus.com/api/open/v1/ac/cashier/self/codevalue/checkout.htm?codeValue=https%3A%2F%2Fglobal.alipay.com%2F281002040092rqa01k6Ed31LA96JETxv4IP8',
    redirectUrl: 'https://open-sea.alipayplus.com/api/open/v1/ac/cashier/self/codevalue/checkout.htm?codeValue=https%3A%2F%2Fglobal.alipay.com%2F281002040092rqa01k6Ed31LA96JETxv4IP8'
  },
  codeFormViews: [{
    code: 'https://global.alipay.com/281002040092rqa01k6Ed31LA96JETxv4IP8',
    codeExpireTime: '1732567070000',
    displayType: 'QRCODE'
  }],
  errorActions: {},
  extendInfo: {
    iconName: 'AlipayHK',
    paymentRedirectUrl: 'http://gol.alipay.net:8080/amsdemo/result?paymentRequestId=amsdmpay_20240410_143002_4shkjh123',
    icon: 'https://cdn.marmot-cloud.com/storage/2024/05/15/97dbcec8-7bdd-464b-b49a-5d9af6d98c0b.svg',
    paymentMethod: 'ALIPAY_HK'
  },
  orderAmount: {
    amount: '1.10',
    currency: 'EUR',
    currencyLabel: '€',
    formattedAmount: '1,10',
    formattedAmountWithCurrency: '€ 1,10',
    value: '110'
  },
  orderAmountView: {
    currency: 'EUR',
    currencyDivider: ' ',
    currencyLabel: '€',
    currencySymbolPosition: 'L',
    formattedValue: '1,10',
    value: '1.10'
  },
  paymentAmount: {
    amount: '1.10',
    currency: 'EUR',
    currencyLabel: '€',
    formattedAmount: '1,10',
    formattedAmountWithCurrency: '€ 1,10',
    value: '110'
  },
  paymentAmountView: {
    currency: 'EUR',
    currencyDivider: ' ',
    currencyLabel: '€',
    currencySymbolPosition: 'L',
    formattedValue: '1,10',
    value: '1.10'
  },
  paymentMethodType: 'ALIPAY_HK',
  paymentResultCode: 'PAYMENT_IN_PROCESS',
  paymentStatus: 'PROCESSING',
  serverTime: '1731566233772',
  success: true,
  supportedLanguages: [{
    locale: 'en_US',
    preferred: true
  }]
};
export var sdkActionUpdate = {
  amountConfirmRequired: false,
  autoDebitWithToken: false,
  checkoutSettings: '{\n        "addressAutoComplete": true,\n        "publicDetail": {\n            "legalBusinessName": "Lazada Group",\n            "businessName": "Lazada"\n        },\n        "paymentSettings": {\n            "displayExpressCheckout": true,\n            "allowPromotion": true,\n            "collectCustomerEmail": true,\n            "collectCustomerPhoneNo": true,\n            "collectShippingPhoneNo": true,\n            "collectShippingName": true,\n            "displayAntomLogo": true,\n            "displayLanguage": true,\n            "defaultLanguage": "en_US",\n            "redirectToMerchant": true,\n            "paymentRedirectUrl": "https://www.baidu.com",\n            "customFields": [\n                {\n                    "labelType": "DROPDOWN",\n                    "labelName": "How did you hear about us?",\n                    "minLength": 0,\n                    "maxLength": 255,\n                    "labelCondition": "REQUIRED",\n                    "options": [\n                        "Search engine (Google, Bing, etc.)",\n                        "Social media",\n                        "Word of Mouth"\n                    ],\n                    "picLink": "http://100.88.104.107:8081/download?bucketName=ipay-ipaycrm-attachment&key=20240409009064IMHaa2545f192c99a8481deaecd9b8ea5ad_2tiZTpB3_20240402143510.jpg&expires=2028172654&accessKeyId=FM49eWrrO8EFqUO4&signature=rnLBSUx4M1I1zPWuZLqInjP79u4%3D&signatureType=OBJECT",\n                    "picTitle": "picTitle",\n                    "picTip": "picTip"\n                }\n            ]\n        },\n        "displaySettings": {\n            "iconUrl": "https://cdn.marmot-cloud.com/storage/2022/8/2/bc7cb991-c8e2-4379-945f-aadae2bdf932.svg",\n            "logoUrl": "https://cdn.marmot-cloud.com/storage/2022/9/26/dfd471f3-da7d-4ef1-8486-cfa4301045c6.svg",\n            "useLogo": true,\n            "themeType": "LIGHT",\n            "backgroundColor": "#ffffff",\n            "accentColor": "#ffffff",\n            "font": "POPPINS",\n            "shape": "ROUNDED",\n            "displayLayout": "LEFT_ORDER_AND_RIGHT_PAYMENT"\n        }\n    }',
  errorActions: {},
  extendInfo: {},
  goods: [{
    goodsName: 'Goods No.1',
    goodsQuantity: '1',
    goodsTotalAmount: {
      amount: '200.00',
      currency: 'PEN',
      currencyLabel: 'S/.',
      formattedAmount: '200.00',
      formattedAmountWithCurrency: 'S/. 200.00',
      value: '20000'
    },
    goodsTotalAmountView: {
      currency: 'PEN',
      currencyDivider: ' ',
      currencyLabel: 'S/.',
      currencySymbolPosition: 'L',
      formattedValue: '200.00',
      value: '200.00'
    },
    goodsUnitAmount: {
      amount: '200.00',
      currency: 'PEN',
      currencyLabel: 'S/.',
      formattedAmount: '200.00',
      formattedAmountWithCurrency: 'S/. 200.00',
      value: '20000'
    },
    goodsUnitAmountView: {
      currency: 'PEN',
      currencyDivider: ' ',
      currencyLabel: 'S/.',
      currencySymbolPosition: 'L',
      formattedValue: '200.00',
      value: '200.00'
    },
    referenceGoodsId: 'amsdm_good_tony_c_20230227_095825_922'
  }, {
    goodsName: 'Goods No.2',
    goodsQuantity: '2',
    goodsTotalAmount: {
      amount: '40000',
      currency: 'KRW',
      currencyLabel: '₩',
      formattedAmount: '40,000',
      formattedAmountWithCurrency: '₩ 40,000',
      value: '40000'
    },
    goodsTotalAmountView: {
      currency: 'KRW',
      currencyDivider: ' ',
      currencyLabel: '₩',
      currencySymbolPosition: 'L',
      formattedValue: '40,000',
      value: '40000'
    },
    goodsUnitAmount: {
      amount: '20000',
      currency: 'KRW',
      currencyLabel: '₩',
      formattedAmount: '20,000',
      formattedAmountWithCurrency: '₩ 20,000',
      value: '20000'
    },
    goodsUnitAmountView: {
      currency: 'KRW',
      currencyDivider: ' ',
      currencyLabel: '₩',
      currencySymbolPosition: 'L',
      formattedValue: '20,000',
      value: '20000'
    },
    referenceGoodsId: 'amsdm_good_tony_c_20230227_095825_922'
  }],
  links: {
    policyInfo: '["{\\"title\\":\\"CheckoutPaymentLegal\\",\\"content\\":[{\\"title\\":\\"CheckoutPaymentLegal\\",\\"content\\":\\"<p>hello<a href=\\\\\\"https://www.baidu.com/\\\\\\"target=\\\\\\"_blank\\\\\\">world</a></p><ol><li>123123123</li><li>123123123123</li></ol>\\"}]}"]',
    privacyLink: 'https://render.alipay.com/p/c/180021490000000150/index.html?agreementId=GL00100002',
    cookieLink: 'https://render.alipay.com/p/c/180021490000000147/index.html?agreementId=GL00100001'
  },
  needInstallmentAbility: false,
  needOtherElements: true,
  orderAmount: {
    amount: '200.00',
    currency: 'BRL',
    currencyLabel: 'R$',
    formattedAmount: '200,00',
    formattedAmountWithCurrency: 'R$ 200,00',
    value: '20000'
  },
  orderAmountView: {
    currency: 'BRL',
    currencyDivider: ' ',
    currencyLabel: 'R$',
    currencySymbolPosition: 'L',
    formattedValue: '200.00',
    value: '200.00'
  },
  pageStyle: {
    checkoutSettings: '{"addressAutoComplete":false}'
  },
  paymentAmount: {
    amount: '200.00',
    currency: 'BRL',
    currencyLabel: 'R$',
    formattedAmount: '200,00',
    formattedAmountWithCurrency: 'R$ 200,00',
    value: '20000'
  },
  paymentAmountView: {
    currency: 'BRL',
    currencyDivider: ' ',
    currencyLabel: 'R$',
    currencySymbolPosition: 'L',
    formattedValue: '200.00',
    value: '200.00'
  },
  paymentMethods: [{
    antomPage: 'paymentMetaPage',
    category: 'CARD',
    icon: 'https://gw.alipay.com/icon/medium/default/ALIPAY_GENERAL_CARD.svg',
    iconName: 'Card',
    links: [],
    logoList: [{
      cardBrand: 'GWANGJUBANK',
      logoUrl: 'https: //cdn.marmot-cloud.com/storage/2024/2/21/635b04a7-1086-4184-8122-98d9c2b99f0f.svg'
    }, {
      cardBrand: 'SHINHYEOP',
      logoUrl: 'https: //cdn.marmot-cloud.com/storage/2024/2/23/bc083008-b6ca-4b51-8767-1aa0dce48f5a.svg'
    }],
    paymentElements: [{
      paymentElementKey: 'paymentMethodId',
      elementType: 'CARD',
      elementMandatory: false,
      title: 'Card Information',
      defaultValue: '',
      extendInfo: '{"needOtherElements":false,"isTempTokenization":"true"}',
      subPaymentElementView: [{
        defaultText: 'Card Number',
        elementMandatory: true,
        elementRegx: '^\\d{15,18}$',
        elementType: 'DIGIT_18',
        paramIllegalText: 'cardNo error',
        paymentElementKey: 'cardNo',
        title: 'Card Number',
        defaultValue: '',
        extendInfo: '{"excludeMetaDataCodes":"null","completeKey":"cc-number"}'
      }, {
        defaultText: 'CVV',
        defaultValue: '',
        elementMandatory: true,
        elementRegx: '^\\d{3,4}$',
        elementType: 'DIGIT_4',
        extendInfo: '{"excludeMetaDataCodes":"null"}',
        paramIllegalText: 'Please enter a valid 3 or 4 digit CVV number',
        paymentElementKey: 'cardCVV'
      }, {
        defaultText: 'Name on Card',
        elementMandatory: true,
        elementRegx: '',
        elementType: 'TEXT',
        paramIllegalText: 'Please enter a Name on Card',
        paymentElementKey: 'cardHolderName',
        defaultValue: '',
        extendInfo: '{"excludeMetaDataCodes":"null","completeKey":"cc-name"}'
      }, {
        defaultText: 'Exp Date(MM/YY)',
        elementMandatory: true,
        elementRegx: '.{5}',
        paramIllegalText: 'Please enter a Exp Date',
        elementType: 'TEXT',
        paymentElementKey: 'expiryYear',
        title: 'Please enter a Exp Date',
        defaultValue: '',
        extendInfo: '{"excludeMetaDataCodes":"null","completeKey":"cc-exp"}'
      }, {
        defaultText: 'Exp Date(MM/YY)',
        elementMandatory: true,
        elementRegx: '',
        elementType: 'TEXT',
        paymentElementKey: 'expiryMonth',
        title: 'Please enter a Exp Date',
        defaultValue: '',
        extendInfo: '{"excludeMetaDataCodes":"null","completeKey":"cc-exp"}'
      }]
    }, {
      defaultText: 'Save this payment method for future use.',
      elementMandatory: false,
      elementType: 'CHECKBOX',
      extendInfo: '{}',
      paymentElementKey: 'bindPaymentMethod'
    }, {
      elementMandatory: false,
      elementType: 'DIGIT_4',
      extendInfo: '[{"currency":"BRL","installmentAmount":"21,39","interestFree":"true","interestRate":"0.12%","orderAmount":"21,39","tenor":"1"}, {"currency":"BRL","installmentAmount":"10,39","interestFree":"true","interestRate":"0.12%","orderAmount":"21,39","tenor":"2"}]',
      paymentElementKey: 'tenor',
      title: 'Instalment plan',
      defaultValue: ''
    }, {
      defaultText: '_ _ _. _ _ _. _ _ _-_ _',
      defaultValue: '',
      elementMandatory: true,
      elementRegx: '^\\d{11}$',
      elementType: 'DIGIT_11',
      extendInfo: '{"customerId":"r35fPjeD0IhNOJrciVqCq10AKiD/uxk8rzaySdJM4tI=","merchantId":"188r35fPjeD0IhNOJrciVqCq10AKiD/uxk8rzaySdJM4tI=","needVerify":"true"}',
      paramIllegalText: 'Please enter a valid 11-digit CPF number',
      paymentElementKey: 'cpf',
      title: 'CPF Code'
    }, {
      defaultText: 'Enter your email address',
      defaultValue: '',
      elementMandatory: true,
      elementRegx: '^(([\\w-\\+\\.]+)@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.)|(([\\w-]+\\.)+))([a-zA-Z]{2,18}|[0-9]{1,3})(\\]?))$',
      elementType: 'TEXT',
      extendInfo: '{"excludeMetaDataCodes":"null"}',
      paramIllegalText: 'Email address format invalid',
      paymentElementKey: 'payerEmail',
      title: 'Email'
    }],
    paymentMethod: 'CARD',
    paymentMethodName: 'Card',
    paymentMethodType: 'CARD',
    webRedirectType: 'PAGE_REFRESH'
  }],
  savedPaymentMethods: [],
  storePolicies: '[\\"{\\\\\\\\\\"title\\\\\\\\\\":\\\\\\\\\\"CheckoutPaymentLegal\\\\\\\\\\",\\\\\\\\\\"content\\\\\\\\\\":[{\\\\\\\\\\"title\\\\\\\\\\":\\\\\\\\\\"CheckoutPaymentLegal\\\\\\\\\\",\\\\\\\\\\"content\\\\\\\\\\":\\\\\\\\\\"<p>hello<ahref=\\\\\\\\\\\\\\\\\\\\\\\\\\"https://www.baidu.com/\\\\\\\\\\\\\\\\\\\\\\\\\\"target=\\\\\\\\\\\\\\\\\\\\\\\\\\"_blank\\\\\\\\\\\\\\\\\\\\\\\\\\">world</a></p><ol><li>123123123</li><li>123123123123</li></ol>\\\\\\\\\\"}]}\\",\\"{\\\\\\\\\\"title\\\\\\\\\\":\\\\\\\\\\"2188120013275594MerchantLegal\\\\\\\\\\",\\\\\\\\\\"content\\\\\\\\\\":[{\\\\\\\\\\"title\\\\\\\\\\":\\\\\\\\\\"2188120013275594MerchantLegal_0\\\\\\\\\\",\\\\\\\\\\"content\\\\\\\\\\":\\\\\\\\\\"<p>hello<ahref=\\\\\\\\\\\\\\\\\\\\\\\\\\"https://www.baidu.com/\\\\\\\\\\\\\\\\\\\\\\\\\\"target=\\\\\\\\\\\\\\\\\\\\\\\\\\"_blank\\\\\\\\\\\\\\\\\\\\\\\\\\">world</a></p><ol><li>MerchantLegal_0</li><li>MerchantLegal_0</li></ol>\\\\\\\\\\"},{\\\\\\\\\\"title\\\\\\\\\\":\\\\\\\\\\"2188120013275594MerchantLegal_1\\\\\\\\\\",\\\\\\\\\\"content\\\\\\\\\\":\\\\\\\\\\"<p>hello<ahref=\\\\\\\\\\\\\\\\\\\\\\\\\\"https://www.baidu.com/\\\\\\\\\\\\\\\\\\\\\\\\\\"target=\\\\\\\\\\\\\\\\\\\\\\\\\\"_blank\\\\\\\\\\\\\\\\\\\\\\\\\\">world</a></p><ol><li>MerchantLegal_1</li><li>MerchantLegal_1</li></ol>\\\\\\\\\\"}]}\\"]',
  success: true,
  redirectUrl: '',
  supportedLanguages: [{
    locale: 'en_US',
    preferred: true,
    title: 'English'
  }, {
    locale: 'it_IT',
    preferred: false,
    title: 'Português'
  }, {
    locale: 'de_DE',
    preferred: false
  }, {
    locale: 'fr_FR',
    preferred: false
  }, {
    locale: 'nl_NL',
    preferred: false
  }, {
    locale: 'es_ES',
    preferred: false
  }, {
    locale: 'zh_CN',
    preferred: false
  }, {
    country: 'KR',
    locale: 'ko_KR',
    preferred: false,
    title: '한국어'
  }]
};
export var oneAccountUpdate = {
  accountInfo: {
    email: 'xxxxx@163.com',
    accountStatus: 'EFFECTIVE',
    oneAccountId: 'xxxxxxkk'
  },
  goods: {
    goodsName: 'xxxxxxx',
    goodsImageUrl: '',
    goodsQuantity: 100,
    goodsUnitAmount: {
      currency: 'EUR',
      value: 100,
      currencyLabel: ''
    }
  },
  paymentMethods: [{
    paymentMethodType: 'CARD',
    iconName: 'VISA',
    icon: 'https://cdn.marmot-cloud.com/storage/2022/8/2/bc7cb991-c8e2-4379-945f-aadae2bdf932.svg',
    paymentMethodId: 'card-id',
    paymentMethodDetail: {
      last4: '**** 1233'
    }
  }, {
    paymentMethodType: 'CARD',
    iconName: 'VISA2',
    icon: 'https://cdn.marmot-cloud.com/storage/2022/8/2/bc7cb991-c8e2-4379-945f-aadae2bdf932.svg',
    paymentMethodId: 'card-id2',
    paymentMethodDetail: {
      last4: '**** 1235'
    }
  }
  // {
  //   "paymentMethodType": "dana",
  //   "iconName": "DANA",
  //   "icon": "https://cdn.marmot-cloud.com/storage/2022/8/2/bc7cb991-c8e2-4379-945f-aadae2bdf932.svg",
  //   "paymentMethodElements": {},
  // },
  ],
  links: {
    privacyLink: 'https://global.alipay.com/docs/ac/Platform/bahzqeb-',
    cookieLink: 'https://global.alipay.com/docs/ac/Platform/x1rhufzj'
  },
  shippings: [{
    shippingName: {
      firstName: '111111',
      lastName: '11111'
    },
    prefer: '1',
    shippingId: 'xxxx1',
    shippingPhoneNo: 'xxxxxx123',
    shippingAddress: {
      region: 'ID',
      state: 'Nusa',
      city: 'Nusa Tenggara Bar.',
      address1: 'Kec. Mataram, Kota Mataram',
      address2: 'Jl. Bangil V No.6, Pagesangan Tim',
      zipCode: '123445'
    }
  }],
  metaData: {
    countryList: [{
      countryName: 'China',
      default: true
    }, {
      countryName: 'Singapore',
      default: false
    }]
  },
  errorActions: {},
  extendInfo: {},
  merchantId: '111xT8bLnciQgqcy20+oOJoWUEbPMTwI0YILNBIicpASIs=',
  needInstallmentAbility: false,
  needOtherElements: false,
  orderDescription: 'AMSDM_GIFT',
  success: true,
  supportedLanguages: [{
    locale: 'en_US',
    preferred: true,
    title: 'English'
  }, {
    country: 'BR',
    locale: 'pt_BR',
    preferred: false,
    title: 'Português'
  }, {
    country: 'KR',
    locale: 'ko_KR',
    preferred: false,
    title: '한국어'
  }, {
    country: 'MX,CL,PE',
    locale: 'es_ES',
    preferred: false,
    title: 'Español'
  }]
};