Skip to content

Commit

Permalink
Fix Shopper Insights PayPal flow and PayPal Vault flow (#1245)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdchow authored Dec 17, 2024
1 parent a74fe2b commit 4bfcf65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public static PayPalVaultRequest createPayPalVaultRequest(
postalAddress.setStreetAddress("123 Fake Street");
postalAddress.setExtendedAddress("Floor A");
postalAddress.setLocality("San Francisco");
postalAddress.setPostalCode("12345");
postalAddress.setRegion("CA");
postalAddress.setCountryCodeAlpha2("US");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ class ShopperInsightsFragment : BaseFragment() {

venmoClient = VenmoClient(requireContext(), super.getAuthStringArg(), null)
payPalClient = PayPalClient(
requireContext(), super.getAuthStringArg(),
Uri.parse("https://mobile-sdk-demo-site-838cead5d3ab.herokuapp.com/")
requireContext(),
super.getAuthStringArg(),
Uri.parse("https://mobile-sdk-demo-site-838cead5d3ab.herokuapp.com/braintree-payments"),
)

return inflater.inflate(R.layout.fragment_shopping_insights, container, false)
Expand Down

0 comments on commit 4bfcf65

Please sign in to comment.