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

Commit 27dab27

Browse files
Update payflow-pro.md (#8346)
Resolved Syntax Error: Expected Name, found <EOF> from the GraphQL Request.
1 parent 9c861f0 commit 27dab27

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

src/guides/v2.3/graphql/payment-methods/payflow-pro.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,28 @@ The following example shows the `setPaymentMethodOnCart` mutation constructed fo
3333

3434
```graphql
3535
mutation {
36-
setPaymentMethodOnCart(input: {
37-
cart_id: "IeTUiU0oCXjm0uRqGCOuhQ2AuQatogjG"
38-
payment_method: {
39-
code: "payflowpro"
40-
payflowpro: {
36+
setPaymentMethodOnCart(
37+
input: {
38+
cart_id: "IeTUiU0oCXjm0uRqGCOuhQ2AuQatogjG"
39+
payment_method: {
40+
code: "payflowpro"
41+
payflowpro: {
4142
cc_details: {
42-
cc_exp_month: 12
43-
cc_exp_year: 2021
44-
cc_last_4: 1111
45-
cc_type: "VI"
43+
cc_exp_month: 12
44+
cc_exp_year: 2021
45+
cc_last_4: 1111
46+
cc_type: "VI"
47+
}
4648
}
4749
}
4850
}
49-
})
50-
{
51+
) {
5152
cart {
5253
selected_payment_method {
5354
code
55+
title
5456
}
57+
}
5558
}
5659
}
5760
```
@@ -65,6 +68,7 @@ mutation {
6568
"cart": {
6669
"selected_payment_method": {
6770
"code": "payflowpro"
71+
"title": "Payflow Pro"
6872
}
6973
}
7074
}

0 commit comments

Comments
 (0)