From b06a3189e3e3453ccece941cdd79861368bf6c20 Mon Sep 17 00:00:00 2001 From: "Kevin A. Cornelius" Date: Fri, 29 Mar 2024 09:05:07 -0500 Subject: [PATCH] Update enable-web-payments-with-stripe.md Correct errors in the documentation --- docs/guides/enable-web-payments-with-stripe.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/guides/enable-web-payments-with-stripe.md b/docs/guides/enable-web-payments-with-stripe.md index 8032f3b..1e1446b 100644 --- a/docs/guides/enable-web-payments-with-stripe.md +++ b/docs/guides/enable-web-payments-with-stripe.md @@ -235,9 +235,9 @@ You can add `InPlayer.Account.signIn()`. +1. Log in an existing user account by calling `InPlayer.Account.signIn()`. - When the request **succeeds**, JWP creates a new user object and returns a unique user authentication token. When the request **fails**, JWP returns a failure response. + When the request **succeeds**, JWP returns a promise conntaining a unique user authentication token. When the request **fails**, JWP returns a failure response. ```javascript InPlayer.Account.signInV2({ email: 'test@test.com', @@ -383,9 +383,9 @@ You can add `POST /v2/accounts/authenticate`. +1. Log in an existing user account by calling `POST /v2/accounts/authenticate`. - When the request **succeeds**, JWP creates a new user object and returns a unique user authentication token that is valid for **30 days**. When the request **fails**, JWP returns a failure response. + When the request **succeeds**, JWP returns a unique user authentication token that is valid for **30 days**. When the request **fails**, JWP returns a failure response. ```cURL curl -L -X POST 'https://services.inplayer.com/v2/accounts/authenticate' \