Skip to content

Commit

Permalink
Disable PayPal Native Checkout Exit Survey (#598)
Browse files Browse the repository at this point in the history
* Remove exit survey when canceling PayPal Native Checkout flow
  • Loading branch information
jaxdesmarais authored Oct 5, 2022
1 parent 628abc4 commit 8f2be5e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* PayPalNativeCheckout (BETA)
* Bumping native-checkout version to 0.8.2
* Fixes an issue where merchants with multiple client IDs would fallback to web on subsequent checkout sessions
* Remove exit survey when canceling Native Checkout flow

## 4.16.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
import com.paypal.checkout.approve.ApprovalData;
import com.paypal.checkout.config.CheckoutConfig;
import com.paypal.checkout.config.Environment;
import com.paypal.checkout.config.SettingsConfig;
import com.paypal.checkout.config.UIConfig;

import com.paypal.pyplcheckout.common.instrumentation.PEnums;
import com.paypal.pyplcheckout.common.instrumentation.PLog;

Expand Down Expand Up @@ -161,7 +164,14 @@ private void sendPayPalRequest(
new CheckoutConfig(
activity.getApplication(),
configuration.getPayPalClientId(),
environment
environment,
null,
null,
null,
new SettingsConfig(),
new UIConfig(
false
)
)
);

Expand Down

0 comments on commit 8f2be5e

Please sign in to comment.