react-native-hyperpay-sdk 0.23.0 → 0.25.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/ios/HyperPay.m +4 -1
- package/package.json +7 -2
package/ios/HyperPay.m
CHANGED
|
@@ -117,7 +117,10 @@ RCT_EXPORT_METHOD(applePay:(NSString*)checkoutID resolver:(RCTPromiseResolveBloc
|
|
|
117
117
|
// reject(@"applePay",checkoutID,error);
|
|
118
118
|
reject(@"applePay",error.localizedDescription, error);
|
|
119
119
|
// See code attribute (OPPErrorCode) and NSLocalizedDescription to identify the reason of failure.
|
|
120
|
-
} else {
|
|
120
|
+
} else {
|
|
121
|
+
NSDictionary *response = @{@"resourcePath": transaction.resourcePath,@"redirectURL": transaction.redirectURL};
|
|
122
|
+
resolve(response);
|
|
123
|
+
}
|
|
121
124
|
} cancelHandler:^{
|
|
122
125
|
reject(@"applePay",@"Executed if the shopper closes the payment page prematurely.",NULL);
|
|
123
126
|
// Executed if the shopper closes the payment page prematurely.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-hyperpay-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"description": "hyperpay",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -35,7 +35,12 @@
|
|
|
35
35
|
"keywords": [
|
|
36
36
|
"react-native",
|
|
37
37
|
"ios",
|
|
38
|
-
"android"
|
|
38
|
+
"android",
|
|
39
|
+
"react-native-hyperpay-sdk",
|
|
40
|
+
"hyperpay",
|
|
41
|
+
"payment",
|
|
42
|
+
"apple-pay",
|
|
43
|
+
"react-native-hyperpay"
|
|
39
44
|
],
|
|
40
45
|
"repository": "https://github.com/RMabroukS/react-native-hyperpay-sdk",
|
|
41
46
|
"author": "RMabroukS <r.mabrouk.sayed@gmail.com> (https://github.com/RMabroukS)",
|