Skip to content

Commit

Permalink
Remove BA toast from PatPal Fragment (#1172)
Browse files Browse the repository at this point in the history
  • Loading branch information
richherrera authored Sep 30, 2024
1 parent 9d8508f commit 01e7d52
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,6 @@ private void launchPayPal(
} else if (paymentAuthRequest instanceof PayPalPaymentAuthRequest.ReadyToLaunch){
PayPalPendingRequest request = payPalLauncher.launch(requireActivity(),
((PayPalPaymentAuthRequest.ReadyToLaunch) paymentAuthRequest));

String pairingId = ((PayPalPaymentAuthRequest.ReadyToLaunch) paymentAuthRequest).getRequestParams().getPairingId();

if (pairingId != null && !pairingId.isEmpty()) {
Toast.makeText(getActivity(), "Pairing ID: " + pairingId, Toast.LENGTH_LONG).show();
}

if (request instanceof PayPalPendingRequest.Started) {
storePendingRequest((PayPalPendingRequest.Started) request);
} else if (request instanceof PayPalPendingRequest.Failure) {
Expand Down

0 comments on commit 01e7d52

Please sign in to comment.