Skip to content

justbetter/magento2-paynl-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento2 Module Paynl Graphql

This module aims to add basic GraphQL support for the paynl module for Magento 2

To use return_url you will need paynl/magento2-plugin version 2.4.0+

GraphQL

These are the GraphQL queries this module adds.

Query

paynlTransaction

This query expects pay_order_id as an argument. It will return #PaynlTransactionOutput

Mutation

paynlStartTransaction

This query expects order_id and optionally return_url. It will return #PaynlStartTransactionOutput

paynlFinishTransaction

This query expects the pay_order_id. It will return #PaynlTransactionOutput

Types

PaynlTransactionOutput

Variable Type Description
orderId String The Pay order id.
state Int The State number.
stateName String The State name.
currency String The currency used to pay.
amount String The amount in cents.
currenyAmount String The amount in cents in the curency.
paidAmount String The paid amount in cents.
paidCurrenyAmount String The paid amount in cents in the curency.
refundAmount String The refunded amount in cents.
refundCurrenyAmount String The refunded amount in cents in the curency.
created String Created at date.
orderNumber String The Order increment id for the Magento order.
isSuccess Boolean Was the payment successfull.

PaynlStartTransactionOutput

Variable Type Description
redirectUrl String The url to redirect to the pay checkout.

About

This module aims to add basic GraphQL support for the paynl module for Magento 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages