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

Update payflow-pro.md #8346

Merged
merged 1 commit into from
Dec 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions src/guides/v2.3/graphql/payment-methods/payflow-pro.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,28 @@ The following example shows the `setPaymentMethodOnCart` mutation constructed fo

```graphql
mutation {
setPaymentMethodOnCart(input: {
cart_id: "IeTUiU0oCXjm0uRqGCOuhQ2AuQatogjG"
payment_method: {
code: "payflowpro"
payflowpro: {
setPaymentMethodOnCart(
input: {
cart_id: "IeTUiU0oCXjm0uRqGCOuhQ2AuQatogjG"
payment_method: {
code: "payflowpro"
payflowpro: {
cc_details: {
cc_exp_month: 12
cc_exp_year: 2021
cc_last_4: 1111
cc_type: "VI"
cc_exp_month: 12
cc_exp_year: 2021
cc_last_4: 1111
cc_type: "VI"
}
}
}
}
})
{
) {
cart {
selected_payment_method {
code
title
}
}
}
}
```
Expand All @@ -65,6 +68,7 @@ mutation {
"cart": {
"selected_payment_method": {
"code": "payflowpro"
"title": "Payflow Pro"
}
}
}
Expand Down