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
Just talked with Sylvester de Vries about possible improvements to the GraphQL setup. We're developing a PWA solution for Magento 2 called GraphCommerce.
We currently have a customer that is scheduled to be released in the coming months and wil use MultiSafePay's GraphQL implementation. The goal is that the module runs completely in a headless mode and a visitor will never touch a Magento URL directly, all communication should happen via GraphQL.
I've taken a look at the GraphQL schema and it seems to be 90% the way there, so that is great! We've got a few feature requests:
1. As a developer I’d like to give a return URL when placing an order, so that we can easily work with theayment gateway without having to configure frontend URL’s.
inputPlaceOrderInput {
multisafepay_return_url: String@doc(description: "Optionally send a URL where the visitor is returned after completing the MultiSafePay order, the URL should be in the format of `http://mydomain.com/my/path?mykey={{transaction_id}}`")
}
2. As a developer I’d like to be able to process the transaction for a customer via GraphQL so that we can get the payment status back.
typeMutation {
multisafepayProcessTransaction(input: MultisafepayProcessTransactionInput): MultisafepayProcessTransactionOutput
}
inputMultisafepayProcessTransactionInput {
transaction_id: String!@doc(description: "The payment token added to the return URL")
}
typeMultisafepayProcessTransactionOutput {
payment_status: MultisafepayPaymentStatusEnumcart: Cart@doc(description: "The cart is only available when the payment status is failed, canceled or expired. In this case the cart is reactivated")
}
enumMultisafepayPaymentStatusEnum {
PAID AUTHORIZED CANCELED PENDING ERROR FAILED
}
Of course this is written with the limited knowledge of the module, but I think this is about in the right direction. If you have any questions, let me know.
The text was updated successfully, but these errors were encountered:
Based on your feedback we have created a few backlog items:
Add GraphQL query for adding custom storefront return and cancel url
Make a reason available for when a user has canceled the payment, so that it can be used to show more engaging error messages after the user has been redirected back to the store.
Add MultiSafepay prefix to the queries and mutations, to prevent collisions with other payment modules
When i have an update regarding these requests, i will let you know.
Just talked with Sylvester de Vries about possible improvements to the GraphQL setup. We're developing a PWA solution for Magento 2 called GraphCommerce.
We currently have a customer that is scheduled to be released in the coming months and wil use MultiSafePay's GraphQL implementation. The goal is that the module runs completely in a headless mode and a visitor will never touch a Magento URL directly, all communication should happen via GraphQL.
I've taken a look at the GraphQL schema and it seems to be 90% the way there, so that is great! We've got a few feature requests:
1. As a developer I’d like to give a return URL when placing an order, so that we can easily work with theayment gateway without having to configure frontend URL’s.
2. As a developer I’d like to be able to process the transaction for a customer via GraphQL so that we can get the payment status back.
Of course this is written with the limited knowledge of the module, but I think this is about in the right direction. If you have any questions, let me know.
The text was updated successfully, but these errors were encountered: