react-native-hyperpay-sdk 0.13.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/android/.gradle/7.4.2/checksums/checksums.lock +0 -0
- package/android/.gradle/{6.8/fileHashes/resourceHashesCache.bin → 7.4.2/checksums/md5-checksums.bin} +0 -0
- package/android/.gradle/{6.8/fileHashes/fileHashes.bin → 7.4.2/checksums/sha1-checksums.bin} +0 -0
- package/android/.gradle/7.4.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/{6.8 → 7.4.2/dependencies-accessors}/gc.properties +0 -0
- package/android/.gradle/7.4.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/{6.8 → 7.4.2}/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.4.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/{7.1.1/dependencies-accessors → 7.4.2}/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/ios/HyperPay.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/ios/HyperPay.xcodeproj/project.xcworkspace/xcuserdata/r.mabrouk.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/HyperPay.xcodeproj/xcuserdata/r.mabrouk.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
- package/lib/typescript/PaymentStatus.d.ts +39 -0
- package/package.json +1 -1
- package/react-native-hyperpay-sdk.podspec +3 -3
- package/src/index.tsx +18 -4
- package/src/paymentStatus/groups.ts +37 -0
- package/src/paymentStatus/index.ts +21 -0
- package/src/paymentStatus/paymentStatus.ts +3106 -0
- package/src/paymentStatus/script.js +16 -0
- package/src/paymentStatus/status.json +2460 -0
- package/OPPWAMobile.framework/.DS_Store +0 -0
- package/OPPWAMobile.framework/Headers/OPPAlipayPaymentParams.h +0 -49
- package/OPPWAMobile.framework/Headers/OPPApplePayPaymentParams.h +0 -64
- package/OPPWAMobile.framework/Headers/OPPApplePayRequestStatus.h +0 -117
- package/OPPWAMobile.framework/Headers/OPPBankAccount.h +0 -58
- package/OPPWAMobile.framework/Headers/OPPBankAccountPaymentParams.h +0 -171
- package/OPPWAMobile.framework/Headers/OPPCard.h +0 -68
- package/OPPWAMobile.framework/Headers/OPPCardPaymentParams.h +0 -251
- package/OPPWAMobile.framework/Headers/OPPCheckoutInfo.h +0 -130
- package/OPPWAMobile.framework/Headers/OPPCheckoutPaymentMethod.h +0 -51
- package/OPPWAMobile.framework/Headers/OPPCheckoutProvider.h +0 -197
- package/OPPWAMobile.framework/Headers/OPPCheckoutSettings.h +0 -185
- package/OPPWAMobile.framework/Headers/OPPCheckoutTheme.h +0 -268
- package/OPPWAMobile.framework/Headers/OPPChinaUnionPayPaymentParams.h +0 -62
- package/OPPWAMobile.framework/Headers/OPPErrors.h +0 -183
- package/OPPWAMobile.framework/Headers/OPPIkanoOiPaymentParams.h +0 -74
- package/OPPWAMobile.framework/Headers/OPPMBWayPaymentParams.h +0 -66
- package/OPPWAMobile.framework/Headers/OPPPayPalPaymentParams.h +0 -48
- package/OPPWAMobile.framework/Headers/OPPPaymentBrandsConfig.h +0 -56
- package/OPPWAMobile.framework/Headers/OPPPaymentButton.h +0 -79
- package/OPPWAMobile.framework/Headers/OPPPaymentParams.h +0 -100
- package/OPPWAMobile.framework/Headers/OPPPaymentParamsBrand.h +0 -57
- package/OPPWAMobile.framework/Headers/OPPPaymentProvider.h +0 -132
- package/OPPWAMobile.framework/Headers/OPPSecurityPolicy.h +0 -87
- package/OPPWAMobile.framework/Headers/OPPToken.h +0 -95
- package/OPPWAMobile.framework/Headers/OPPTokenPaymentParams.h +0 -180
- package/OPPWAMobile.framework/Headers/OPPTransaction.h +0 -77
- package/OPPWAMobile.framework/Headers/OPPWAMobile.h +0 -48
- package/OPPWAMobile.framework/OPPWAMobile +0 -0
- package/OPPWAMobile.framework/Resources/.DS_Store +0 -0
- package/OPPWAMobile.framework/Resources/Klarna.json +0 -67
- package/OPPWAMobile.framework/Resources/OPPBrandCollectionViewCell.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPCardDetailsViewController.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPCardsTableViewCell.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPCheckoutTextFieldView.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPChinaUnionPayDetailsViewController.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPDirectDebitDetailsViewController.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPGiropayDetailsViewController.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPIkanoDetailsViewController.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPKlarnaDetailsViewController.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPKlarnaTableViewCell.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPListDetailsViewController.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPMBWAYDetailsViewController.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPPaymentFormHeaderView.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPPaymentProcessingViewController.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPPaymentSchemeTableViewCell.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPPaymentSchemeViewController.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPStorePaymentDetailsView.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPTokenCollectionViewCell.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPTokensTableViewCell.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPTotalAmountView.nib/objects-11.0+.nib +0 -0
- package/OPPWAMobile.framework/Resources/OPPTotalAmountView.nib/runtime.nib +0 -0
- package/OPPWAMobile.framework/Resources/alipay.png +0 -0
- package/OPPWAMobile.framework/Resources/alipay@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/alipay@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/amex.png +0 -0
- package/OPPWAMobile.framework/Resources/amex@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/amex@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/applepay.png +0 -0
- package/OPPWAMobile.framework/Resources/applepay@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/applepay@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/ar.lproj/OPPCheckout.strings +0 -89
- package/OPPWAMobile.framework/Resources/arrow_down.png +0 -0
- package/OPPWAMobile.framework/Resources/arrow_up.png +0 -0
- package/OPPWAMobile.framework/Resources/boleto.png +0 -0
- package/OPPWAMobile.framework/Resources/boleto@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/boleto@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/ca.lproj/OPPCheckout.strings +0 -90
- package/OPPWAMobile.framework/Resources/camera_icon.png +0 -0
- package/OPPWAMobile.framework/Resources/camera_icon@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/camera_icon@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/card.png +0 -0
- package/OPPWAMobile.framework/Resources/card@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/card@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/cartebleue.png +0 -0
- package/OPPWAMobile.framework/Resources/cartebleue@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/cartebleue@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/dankort.png +0 -0
- package/OPPWAMobile.framework/Resources/dankort@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/dankort@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/de.lproj/OPPCheckout.strings +0 -99
- package/OPPWAMobile.framework/Resources/diners.png +0 -0
- package/OPPWAMobile.framework/Resources/diners@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/diners@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/directdebit_sepa.png +0 -0
- package/OPPWAMobile.framework/Resources/directdebit_sepa@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/directdebit_sepa@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/discover.png +0 -0
- package/OPPWAMobile.framework/Resources/discover@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/discover@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/en.lproj/OPPCheckout.strings +0 -145
- package/OPPWAMobile.framework/Resources/es.lproj/OPPCheckout.strings +0 -92
- package/OPPWAMobile.framework/Resources/eu-ES.lproj/OPPCheckout.strings +0 -92
- package/OPPWAMobile.framework/Resources/fr-CA.lproj/OPPCheckout.strings +0 -93
- package/OPPWAMobile.framework/Resources/fr.lproj/OPPCheckout.strings +0 -93
- package/OPPWAMobile.framework/Resources/giropay.png +0 -0
- package/OPPWAMobile.framework/Resources/giropay@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/giropay@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/gl-ES.lproj/OPPCheckout.strings +0 -92
- package/OPPWAMobile.framework/Resources/ideal.png +0 -0
- package/OPPWAMobile.framework/Resources/ideal@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/ideal@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/it.lproj/OPPCheckout.strings +0 -94
- package/OPPWAMobile.framework/Resources/ja.lproj/OPPCheckout.strings +0 -74
- package/OPPWAMobile.framework/Resources/jcb.png +0 -0
- package/OPPWAMobile.framework/Resources/jcb@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/jcb@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_detail_logo.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_detail_logo@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_detail_logo@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_nl_agreement.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_nl_agreement@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_nl_agreement@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_payments_billpay.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_payments_billpay@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_payments_billpay@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_payments_paylater.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_payments_paylater@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_payments_paylater@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_payments_sliceit.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_payments_sliceit@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/klarna_payments_sliceit@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/mada.png +0 -0
- package/OPPWAMobile.framework/Resources/mada@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/mada@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/maestro.png +0 -0
- package/OPPWAMobile.framework/Resources/maestro@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/maestro@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/master.png +0 -0
- package/OPPWAMobile.framework/Resources/master@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/master@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/masterdebit.png +0 -0
- package/OPPWAMobile.framework/Resources/masterdebit@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/masterdebit@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/masterpass.png +0 -0
- package/OPPWAMobile.framework/Resources/masterpass@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/masterpass@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/nl.lproj/OPPCheckout.strings +0 -91
- package/OPPWAMobile.framework/Resources/paydirekt.png +0 -0
- package/OPPWAMobile.framework/Resources/paydirekt@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/paydirekt@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/paypal.png +0 -0
- package/OPPWAMobile.framework/Resources/paypal@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/paypal@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/paysafecard.png +0 -0
- package/OPPWAMobile.framework/Resources/paysafecard@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/paysafecard@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/paytrail.png +0 -0
- package/OPPWAMobile.framework/Resources/paytrail@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/paytrail@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/pf_karte_direct.png +0 -0
- package/OPPWAMobile.framework/Resources/pf_karte_direct@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/pf_karte_direct@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/przelewy.png +0 -0
- package/OPPWAMobile.framework/Resources/przelewy@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/przelewy@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/pt.lproj/OPPCheckout.strings +0 -91
- package/OPPWAMobile.framework/Resources/ratenkauf.png +0 -0
- package/OPPWAMobile.framework/Resources/ratenkauf@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/ratenkauf@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/ru.lproj/OPPCheckout.strings +0 -91
- package/OPPWAMobile.framework/Resources/sibs_multibanco.png +0 -0
- package/OPPWAMobile.framework/Resources/sibs_multibanco@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/sibs_multibanco@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/sofortueberweisung.png +0 -0
- package/OPPWAMobile.framework/Resources/sofortueberweisung@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/sofortueberweisung@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/th.lproj/OPPCheckout.strings +0 -91
- package/OPPWAMobile.framework/Resources/trustly.png +0 -0
- package/OPPWAMobile.framework/Resources/trustly@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/trustly@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/unionpay.png +0 -0
- package/OPPWAMobile.framework/Resources/unionpay@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/unionpay@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/version.plist +0 -0
- package/OPPWAMobile.framework/Resources/visa.png +0 -0
- package/OPPWAMobile.framework/Resources/visa@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/visa@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/visadebit.png +0 -0
- package/OPPWAMobile.framework/Resources/visadebit@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/visadebit@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/visaelectron.png +0 -0
- package/OPPWAMobile.framework/Resources/visaelectron@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/visaelectron@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/yandex.png +0 -0
- package/OPPWAMobile.framework/Resources/yandex@2x.png +0 -0
- package/OPPWAMobile.framework/Resources/yandex@3x.png +0 -0
- package/OPPWAMobile.framework/Resources/zh-Hans.lproj/OPPCheckout.strings +0 -92
- package/OPPWAMobile.framework/Versions/.DS_Store +0 -0
- package/OPPWAMobile.framework/Versions/2.47.0/.DS_Store +0 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPAlipayPaymentParams.h +0 -49
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPApplePayPaymentParams.h +0 -64
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPApplePayRequestStatus.h +0 -117
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPBankAccount.h +0 -58
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPBankAccountPaymentParams.h +0 -171
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCard.h +0 -68
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCardPaymentParams.h +0 -251
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutInfo.h +0 -130
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutPaymentMethod.h +0 -51
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutProvider.h +0 -197
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutSettings.h +0 -185
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPCheckoutTheme.h +0 -268
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPChinaUnionPayPaymentParams.h +0 -62
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPErrors.h +0 -183
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPIkanoOiPaymentParams.h +0 -74
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPMBWayPaymentParams.h +0 -66
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPayPalPaymentParams.h +0 -48
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentBrandsConfig.h +0 -56
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentButton.h +0 -79
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentParams.h +0 -100
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentParamsBrand.h +0 -57
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPPaymentProvider.h +0 -132
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPSecurityPolicy.h +0 -87
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPToken.h +0 -95
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPTokenPaymentParams.h +0 -180
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPTransaction.h +0 -77
- package/OPPWAMobile.framework/Versions/2.47.0/Headers/OPPWAMobile.h +0 -48
- package/OPPWAMobile.framework/Versions/2.47.0/OPPWAMobile +0 -0
- package/OPPWAMobile.framework/Versions/2.47.0/Resources/Info.plist +0 -0
- package/OPPWAMobile.framework/Versions/Current/.DS_Store +0 -0
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPAlipayPaymentParams.h +0 -49
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPApplePayPaymentParams.h +0 -64
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPApplePayRequestStatus.h +0 -117
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPBankAccount.h +0 -58
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPBankAccountPaymentParams.h +0 -171
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCard.h +0 -68
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCardPaymentParams.h +0 -251
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutInfo.h +0 -130
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutPaymentMethod.h +0 -51
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutProvider.h +0 -197
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutSettings.h +0 -185
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPCheckoutTheme.h +0 -268
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPChinaUnionPayPaymentParams.h +0 -62
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPErrors.h +0 -183
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPIkanoOiPaymentParams.h +0 -74
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPMBWayPaymentParams.h +0 -66
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPayPalPaymentParams.h +0 -48
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentBrandsConfig.h +0 -56
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentButton.h +0 -79
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentParams.h +0 -100
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentParamsBrand.h +0 -57
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPPaymentProvider.h +0 -132
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPSecurityPolicy.h +0 -87
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPToken.h +0 -95
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPTokenPaymentParams.h +0 -180
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPTransaction.h +0 -77
- package/OPPWAMobile.framework/Versions/Current/Headers/OPPWAMobile.h +0 -48
- package/OPPWAMobile.framework/Versions/Current/OPPWAMobile +0 -0
- package/OPPWAMobile.framework/Versions/Current/Resources/Info.plist +0 -0
- package/android/.gradle/6.8/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/6.8/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/6.8/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/6.8/javaCompile/javaCompile.lock +0 -0
- package/android/.gradle/7.1.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.1.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.1.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.1.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.1.1/gc.properties +0 -0
package/README.md
CHANGED
|
@@ -39,8 +39,21 @@ const result = await hyperPay.applePay("CheckoutId")
|
|
|
39
39
|
checkoutID: `${res.data?.checkout_id}`,
|
|
40
40
|
shopperResultURL: "[YOUR_APP_IDENTIFIER]://[URL_SCHEMES]"
|
|
41
41
|
})
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
// get payment status
|
|
45
|
+
const result=await hyperPay.getPaymentStatus("000.000.000")
|
|
46
|
+
// result={
|
|
47
|
+
// "code": "000.000.000",
|
|
48
|
+
// "description": "Transaction succeeded",
|
|
49
|
+
// "status": "successfully"
|
|
50
|
+
// }
|
|
42
51
|
```
|
|
43
52
|
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
44
57
|
## Contributing
|
|
45
58
|
|
|
46
59
|
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
|
|
Binary file
|
package/android/.gradle/{6.8/fileHashes/resourceHashesCache.bin → 7.4.2/checksums/md5-checksums.bin}
RENAMED
|
Binary file
|
package/android/.gradle/{6.8/fileHashes/fileHashes.bin → 7.4.2/checksums/sha1-checksums.bin}
RENAMED
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
File without changes
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=7.
|
|
1
|
+
#Sat Sep 17 08:37:32 EET 2022
|
|
2
|
+
gradle.version=7.4.2
|
|
Binary file
|
package/ios/HyperPay.xcodeproj/xcuserdata/r.mabrouk.xcuserdatad/xcschemes/xcschememanagement.plist
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
+
<plist version="1.0">
|
|
4
|
+
<dict>
|
|
5
|
+
<key>SchemeUserState</key>
|
|
6
|
+
<dict>
|
|
7
|
+
<key>HyperPay.xcscheme_^#shared#^_</key>
|
|
8
|
+
<dict>
|
|
9
|
+
<key>orderHint</key>
|
|
10
|
+
<integer>0</integer>
|
|
11
|
+
</dict>
|
|
12
|
+
</dict>
|
|
13
|
+
</dict>
|
|
14
|
+
</plist>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export type PaymentStatusType =
|
|
4
|
+
{
|
|
5
|
+
code: string,
|
|
6
|
+
description: string,
|
|
7
|
+
status: string
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
export type PaymentStatusesGroups =
|
|
12
|
+
"successfully" |
|
|
13
|
+
"manuallyReviewed" |
|
|
14
|
+
"pending" |
|
|
15
|
+
"rejection3DsecureAndIntercardRiskChecks" |
|
|
16
|
+
"rejectionsByTheExternalBank" |
|
|
17
|
+
"rejectionsDueToCommunicationErrors" |
|
|
18
|
+
"rejectionsDueToSystemErrors" |
|
|
19
|
+
"rejectionsDueToErrorInAsynchonousWorkflow" |
|
|
20
|
+
"softDeclines" |
|
|
21
|
+
"rejectionsDueToChecksByExternalRiskSystems" |
|
|
22
|
+
"rejectionsDueToAddressValidation" |
|
|
23
|
+
"rejectionsDueTo3Dsecure" |
|
|
24
|
+
"rejectionsDueToBlacklistValidation" |
|
|
25
|
+
"rejectionsDueToRiskValidation" |
|
|
26
|
+
"rejectionsDueToConfigurationValidation" |
|
|
27
|
+
"rejectionsDueToRegistrationValidation" |
|
|
28
|
+
"rejectionsDueToJobValidation" |
|
|
29
|
+
"rejectionsDueToReferenceValidation" |
|
|
30
|
+
"rejectionsDueToFormatValidation" |
|
|
31
|
+
"rejectionsDueToAddressValidation" |
|
|
32
|
+
"rejectionsDueToContactValidation" |
|
|
33
|
+
"rejectionsDueToAccountValidation" |
|
|
34
|
+
"rejectionsDueToAmountValidation" |
|
|
35
|
+
"rejectionsDueToRiskManagement" |
|
|
36
|
+
"chargebackRelatedResultCodes"
|
|
37
|
+
|
|
38
|
+
export declare function getPaymentStatus(status: string): PaymentStatusType
|
|
39
|
+
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ Pod::Spec.new do |s|
|
|
|
14
14
|
s.source_files = "ios/**/*.{h,m,mm}"
|
|
15
15
|
s.dependency "React-Core"
|
|
16
16
|
s.requires_arc = true
|
|
17
|
-
s.vendored_frameworks = "OPPWAMobile.
|
|
18
|
-
s.public_header_files = "OPPWAMobile.framework/Versions/2.47.0/Headers/*.h"
|
|
19
|
-
s.resource_bundle = { 'OPPWAMobile-Resources' => 'OPPWAMobile.framework/Resources/**' }
|
|
17
|
+
s.vendored_frameworks = "OPPWAMobile.xcframework","ipworks3ds_sdk.xcframework"
|
|
18
|
+
# s.public_header_files = "OPPWAMobile.framework/Versions/2.47.0/Headers/*.h"
|
|
19
|
+
# s.resource_bundle = { 'OPPWAMobile-Resources' => 'OPPWAMobile.framework/Resources/**' }
|
|
20
20
|
end
|
package/src/index.tsx
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import {
|
|
2
|
+
NativeModules,
|
|
3
|
+
Platform
|
|
4
|
+
} from 'react-native';
|
|
5
|
+
import type {
|
|
6
|
+
CreateTransactionResponseType,
|
|
7
|
+
CreateTransactionParams,
|
|
8
|
+
ConfigType
|
|
9
|
+
} from '../lib/typescript'
|
|
10
|
+
import {
|
|
11
|
+
getPaymentStatus
|
|
12
|
+
} from './paymentStatus'
|
|
13
|
+
|
|
14
|
+
|
|
3
15
|
const LINKING_ERROR =
|
|
4
16
|
`The package 'react-native-hyperpay-sdk' doesn't seem to be linked. Make sure: \n\n` +
|
|
5
17
|
Platform.select({ ios: "- You have run 'pod install'\n", default: '' }) +
|
|
@@ -18,7 +30,8 @@ const HyperPay = NativeModules.HyperPay
|
|
|
18
30
|
);
|
|
19
31
|
|
|
20
32
|
|
|
21
|
-
export function createPaymentTransaction(params: CreateTransactionParams):
|
|
33
|
+
export function createPaymentTransaction(params: CreateTransactionParams):
|
|
34
|
+
Promise<CreateTransactionResponseType> {
|
|
22
35
|
return HyperPay.createPaymentTransaction(params);
|
|
23
36
|
}
|
|
24
37
|
|
|
@@ -33,6 +46,7 @@ export function applePay(checkoutID: string): Promise<any> {
|
|
|
33
46
|
const hyperpay = {
|
|
34
47
|
applePay,
|
|
35
48
|
setConfig,
|
|
36
|
-
createPaymentTransaction
|
|
49
|
+
createPaymentTransaction,
|
|
50
|
+
getPaymentStatus
|
|
37
51
|
}
|
|
38
52
|
export default hyperpay
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
PaymentStatusesGroups
|
|
3
|
+
} from "../../lib/typescript/PaymentStatus"
|
|
4
|
+
|
|
5
|
+
export const groups: {
|
|
6
|
+
group: PaymentStatusesGroups,
|
|
7
|
+
reg: RegExp,
|
|
8
|
+
status: "successfully" | "rejected" | "Chargeback" | "pending"
|
|
9
|
+
}[] =
|
|
10
|
+
[
|
|
11
|
+
{ group: "successfully", reg: /^(000\.000\.|000\.100\.1|000\.[36])/, status: "successfully" },
|
|
12
|
+
{ group: "manuallyReviewed", reg: /^(000\.400\.0[^3]|000\.400\.[0-1]{2}0)/, status: "successfully" },
|
|
13
|
+
{ group: "pending", reg: /^(000\.200)/, status: "pending" },
|
|
14
|
+
{ group: "pending", reg: /^(800\.400\.5|100\.400\.500)/, status: "pending" },
|
|
15
|
+
{ group: "rejection3DsecureAndIntercardRiskChecks", reg: /^(000\.400\.[1][0-9][1-9]|000\.400\.2)/, status: "rejected" },
|
|
16
|
+
{ group: "rejectionsByTheExternalBank", reg: /^(800\.[17]00|800\.800\.[123])/, status: "rejected" },
|
|
17
|
+
{ group: "rejectionsDueToCommunicationErrors", reg: /^(900\.[1234]00|000\.400\.030)/, status: "rejected" },
|
|
18
|
+
{ group: "rejectionsDueToSystemErrors", reg: /^(800\.[56]|999\.|600\.1|800\.800\.[84])/, status: "rejected" },
|
|
19
|
+
{ group: "rejectionsDueToErrorInAsynchonousWorkflow", reg: /^(100\.39[765])/, status: "rejected" },
|
|
20
|
+
{ group: "softDeclines", reg: /^(300\.100\.100)/, status: "rejected" },
|
|
21
|
+
{ group: "rejectionsDueToChecksByExternalRiskSystems", reg: /^(100\.400\.[0-3]|100\.38|100\.370\.100|100\.370\.11)/, status: "rejected" },
|
|
22
|
+
{ group: "rejectionsDueToAddressValidation", reg: /^(800\.400\.1)/, status: "rejected" },
|
|
23
|
+
{ group: "rejectionsDueTo3Dsecure", reg: /^(800\.400\.2|100\.380\.4|100\.390)/, status: "rejected" },
|
|
24
|
+
{ group: "rejectionsDueToBlacklistValidation", reg: /^(100\.100\.701|800\.[32])/, status: "rejected" },
|
|
25
|
+
{ group: "rejectionsDueToRiskValidation", reg: /^(800\.1[123456]0)/, status: "rejected" },
|
|
26
|
+
{ group: "rejectionsDueToConfigurationValidation", reg: /^(600\.[23]|500\.[12]|800\.121)/, status: "rejected" },
|
|
27
|
+
{ group: "rejectionsDueToRegistrationValidation", reg: /^(100\.[13]50)/, status: "rejected" },
|
|
28
|
+
{ group: "rejectionsDueToJobValidation", reg: /^(100\.250|100\.360)/, status: "rejected" },
|
|
29
|
+
{ group: "rejectionsDueToReferenceValidation", reg: /^(700\.[1345][05]0)/, status: "rejected" },
|
|
30
|
+
{ group: "rejectionsDueToFormatValidation", reg: /^(200\.[123]|100\.[53][07]|800\.900|100\.[69]00\.500)/, status: "rejected" },
|
|
31
|
+
{ group: "rejectionsDueToAddressValidation", reg: /^(100\.800)/, status: "rejected" },
|
|
32
|
+
{ group: "rejectionsDueToContactValidation", reg: /^(100\.[97]00)/, status: "rejected" },
|
|
33
|
+
{ group: "rejectionsDueToAccountValidation", reg: /^(100\.100|100.2[01])/, status: "rejected" },
|
|
34
|
+
{ group: "rejectionsDueToAmountValidation", reg: /^(100\.55)/, status: "rejected" },
|
|
35
|
+
{ group: "rejectionsDueToRiskManagement", reg: /^(100\.380\.[23]|100\.380\.101)/, status: "rejected" },
|
|
36
|
+
{ group: "chargebackRelatedResultCodes", reg: /^(000\.100\.2)/, status: "Chargeback" },
|
|
37
|
+
]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
groups
|
|
3
|
+
} from './groups';
|
|
4
|
+
import type {
|
|
5
|
+
PaymentStatusType,
|
|
6
|
+
} from '../../lib/typescript/PaymentStatus'
|
|
7
|
+
import {
|
|
8
|
+
PaymentStatus
|
|
9
|
+
} from './paymentStatus'
|
|
10
|
+
|
|
11
|
+
export const getPaymentStatus = (code: string): PaymentStatusType => {
|
|
12
|
+
const selectedGroup = groups.find((group) => group.reg.test(code))
|
|
13
|
+
if (selectedGroup)
|
|
14
|
+
return PaymentStatus[selectedGroup.group][code]
|
|
15
|
+
else
|
|
16
|
+
return {
|
|
17
|
+
code,
|
|
18
|
+
description: "This status code is invalid",
|
|
19
|
+
status: "error"
|
|
20
|
+
}
|
|
21
|
+
}
|