Skip to content

webjump/module-adyen-payment-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adyen GrahpQl

adds support for graphql to the adyen magento 2 module

Request Example

mutation (
  $cartId: String!,
  $paymentMethodCode: String!,
  $creditCardNumer: String!,
  $creditCardCvc: String!,
  $creditCardExpiryMonth: String!,
  $creditCardExpireYear: String!,
  $creaditCardType: String!
) {
  setPaymentMethodOnCart(input: {
      cart_id: $cartId
      payment_method: {
          code: $paymentMethodCode
          adyen_cc: {
            number: $creditCardNumer
            cvc: $creditCardCvc
            expiryMonth: $creditCardExpiryMonth
            expiryYear: $creditCardExpireYear
            cc_type: $creaditCardType
          }
      }
      
  }) {
    cart {
      selected_payment_method {
        code
      }
    }
  }
}

About

Adiciona suporte a GraphQl no modulo da Adyen

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages