Skip to content

Commit

Permalink
Update comment for shopperSessionId
Browse files Browse the repository at this point in the history
  • Loading branch information
warmkesselj committed Dec 6, 2024
1 parent 737f16f commit c4437cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ class ShopperInsightsFragment : BaseFragment() {
private lateinit var venmoStartedPendingRequest: VenmoPendingRequest.Started
private lateinit var paypalStartedPendingRequest: PayPalPendingRequest.Started

private var sessionId: String = "test-shopper-session-id"
private var shopperSessionId: String = "test-shopper-session-id"

override fun onCreateView(
inflater: LayoutInflater,
container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
shopperInsightsClient = ShopperInsightsClient(requireContext(), authStringArg, sessionId)
shopperInsightsClient = ShopperInsightsClient(requireContext(), authStringArg, shopperSessionId)

venmoClient = VenmoClient(requireContext(), super.getAuthStringArg(), null)
payPalClient = PayPalClient(
Expand Down Expand Up @@ -233,7 +233,7 @@ class ShopperInsightsFragment : BaseFragment() {
emailInput.editText?.text.toString(),
countryCodeInput.editText?.text.toString(),
nationalNumberInput.editText?.text.toString(),
sessionId
shopperSessionId

)
) { authRequest ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ import org.json.JSONException
* where the user has a PayPal Account with the same email.
* @property userPhoneNumber User phone number used to initiate a quicker authentication flow in
* cases where the user has a PayPal Account with the phone number.
* @property shopperSessionId value should be the shopper session ID returned from your server SDK
* request.
* @property shopperSessionId the shopper session ID returned from your shopper insights server SDK
* integration
* @property lineItems The line items for this transaction. It can include up to 249 line items.
*/
abstract class PayPalRequest internal constructor(
Expand Down

0 comments on commit c4437cd

Please sign in to comment.