You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: src/guides/v2.3/graphql/payment-methods/braintree-vault.md
+15-12Lines changed: 15 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ The following diagram shows the workflow for placing an order when Braintree Vau
20
20
21
21
1. The client renders the token information, and the customer selects a payment method.
22
22
23
-
When the customer selects a stored payment method, the PWA uses the [`setPaymentMethodOnCart`]({{page.baseurl}}/graphql/mutations/set-payment-method.html) mutation to set the payment method to `braintree_cc_vault`. The vaulted public hash is passed with other optional properties in the [`braintree_cc_vault`](#braintree_cc_vault-object).
23
+
When the customer selects a stored payment method, the PWA uses the [`setPaymentMethodOnCart`]({{page.baseurl}}/graphql/mutations/set-payment-method.html) mutation to set the payment method to [`braintree_cc_vault`](#braintree_cc_vault-object). The vaulted public hash is passed with other optional properties in the `braintree_cc_vault`.
24
24
25
25
1. Magento returns a `Cart` object.
26
26
@@ -35,7 +35,7 @@ The following diagram shows the workflow for placing an order when Braintree Vau
35
35
## `setPaymentMethodOnCart` mutation
36
36
37
37
When you set the payment method to Braintree in the [`setPaymentMethodOnCart`]({{page.baseurl}}/graphql/mutations/set-payment-method.html)
38
-
mutation, the `payment_method` object must contain a `braintree_cc_vault` object.
38
+
mutation, the `payment_method` object must contain a [`braintree_cc_vault`](#braintree_cc_vault-object) object.
39
39
40
40
### braintree_cc_vault object
41
41
@@ -54,18 +54,20 @@ The following example shows the `setPaymentMethodOnCart` mutation constructed fo
0 commit comments