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

Commit ffc96c9

Browse files
authored
Merge pull request #8467 from dineshvb/getHostedProUrl-query-error-coverage
Added the error coverage for getHostedProUrl query
2 parents 87f1980 + 5f8464a commit ffc96c9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/guides/v2.3/graphql/queries/get-hosted-pro-url.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,11 @@ The query returns the PayPal URL that enables the customer to sign in to PayPal
5050
Attribute | Data type | Description
5151
--- | --- | ---
5252
`secure_form_url` | String | Secure URL generated by PayPal
53+
54+
## Errors
55+
56+
Error | Description
57+
--- | ---
58+
`Could not find a cart with ID \"xxxxx\"` | The ID provided in the `cart_id` field is invalid or the cart does not exist for the customer.
59+
`The cart isn't active` | The cart with the specified cart ID is unavailable, because the items have been purchased and the cart ID becomes inactive.
60+
`Field HostedProUrlInput.cart_id of required type String! was not provided` | The value specified in the `HostedProUrlInput.cart_id` argument is empty.

0 commit comments

Comments
 (0)