You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I am looking for help, recommendations, comments, etc as I need to fix this issue. Any comment would be helpful.
I'm using a fork of this library (https://github.com/wkoutre/react-native-braintree-xplat) because I need the Apple Pay payment method. That fork doesn't have "Issues" tab, so thats the reason why I'm writing here, maybe the problem is common in other payment methods, and the developer community is much more active here
The library works well with the methods showPaymentViewController and showPayPalViewController (availables in this lib) and when I request close the popup to make the payment (click on x) the bottom dialog close and works and the function pass to the catch section, so I can hide a global loading spinner. Everything is ok!
The problem is with the function showApplePayViewController, the bottom dialog is shown correctly. but when I press the x button to close, not pass to the catch, it got stucked, and I can't figourte out how to insert a callback
I'm using redux-saga, so the methods I written as following:
paymentNonce = yield call(
[BTClient, BTClient.showApplePayViewController],
{
merchantIdentifier: 'merchant.FirstDerm',
paymentSummaryItems: [
{label: paymentLabel, amount: price.amount},
]
},
() =>{
// this callback not work
console.log('applepay callback ')
}
);
With the other methods that work well, this is the code:
Hello! I am looking for help, recommendations, comments, etc as I need to fix this issue. Any comment would be helpful.
I'm using a fork of this library (https://github.com/wkoutre/react-native-braintree-xplat) because I need the Apple Pay payment method. That fork doesn't have "Issues" tab, so thats the reason why I'm writing here, maybe the problem is common in other payment methods, and the developer community is much more active here
The library works well with the methods
showPaymentViewController
andshowPayPalViewController
(availables in this lib) and when I request close the popup to make the payment (click on x) the bottom dialog close and works and the function pass to the catch section, so I can hide a global loading spinner. Everything is ok!The problem is with the function showApplePayViewController, the bottom dialog is shown correctly. but when I press the x button to close, not pass to the catch, it got stucked, and I can't figourte out how to insert a callback
I'm using redux-saga, so the methods I written as following:
With the other methods that work well, this is the code:
so when you touch the x to close, go directlys to the catch. But not pass the same with showApplePayViewController
I tried with the
and without, empty, and nor specifying the latest argument
Thanks for any help!
The text was updated successfully, but these errors were encountered: