Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 6c18bb6

Browse files
sathiyaaakeharper
andauthored
Added errors documentation for paypal express token mutation (#8457)
Co-authored-by: Kevin Harper <[email protected]>
1 parent 70d8ae6 commit 6c18bb6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/guides/v2.3/graphql/mutations/create-paypal-express-token.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,14 @@ Attribute | Data Type | Description
112112
--- | --- | ---
113113
`edit` | String | The PayPal URL that allows the buyer to edit their checkout details
114114
`start` | String | The URL to the PayPal login page
115+
116+
## Errors
117+
118+
Error | Description
119+
--- | ---
120+
`Required parameter "cart_id" is missing` | The mutation does not contain a `cart_id` argument.
121+
`Could not find a cart with ID "XXX"` | The specified `cart_id` value does not exist in the `quote_id_mask` table.
122+
`Field PaypalExpressTokenInput.code of required type String! was not provided.` | The required attribute `code` is missing.
123+
`The requested Payment Method is not available.` | The payment method is not configured.
124+
`Field PaypalExpressUrlsInput.cancel_url of required type String! was not provided.` | The required attribute `cancel_url` is missing.
125+
`Field PaypalExpressUrlsInput.return_url of required type String! was not provided.` | The required attribute `return_url` is missing.

0 commit comments

Comments
 (0)