paynl / magento2-plugin

The Pay. plugin for Magento 2
https://www.pay.nl
28 stars 32 forks source link

PWA support #89

Closed royduin closed 1 year ago

royduin commented 4 years ago

It would be nice to have some endpoints (REST and GraphQL) to use in a PWA. Some competitors do have this already:

We need this for the @rapidez integration.

woutse commented 4 years ago

Thanks for your message! This might be indeed an interesting extension to our services. We will definitely look into this!

peterjaap commented 3 years ago

@woutse any news on this? We want to implement this in Hyvä, and having GraphQL endpoints would certainly be nice.

peterjaap commented 3 years ago

@woutse this is how MSP solves it; https://github.com/MultiSafepay/magento2-graphql

woutse commented 3 years ago

Thanks for your message. I'll get back to you on this in 10 days!

woutse commented 3 years ago

Hi, little update - we're still investigating this at the moment. I'll get back to you on this later this week.

woutse commented 3 years ago

Hi! We decided to implement this. However it might take a while until release. The expectation for release is q4.

indykoning commented 3 years ago

Hi is there any update on this, has it been started, is there maybe a development version? If not i might try making a basic one to get payments working with GraphQL

indykoning commented 3 years ago

I've added a basic GraphQL implementation: https://github.com/justbetter/magento2-paynl-graphql It does need https://github.com/paynl/magento2-plugin/pull/164 to be merged or applied as patch in order to set the return url.

Feel free to take the code in that repository and make a paynl/magento2-graphql with it

woutse commented 3 years ago

Thanks! We will review this as soon as possible!

woutse commented 2 years ago

@indykoning We'd like to follow your suggestion to add your implementation into a new PAY. repository called paynl/magento2-graphql. Do you still approve of this?

indykoning commented 2 years ago

Absolutely! Go right ahead with it 😄 Alternatively you could integrate it with this repository as well, depends on what your preference is 😉

One small improvement you could already make to it is to add ! to required variables in the Query E.g. pay_order_id: String!

woutse commented 2 years ago

Great to hear, thanks. Then we'll set this up!

escruickshank commented 1 year ago

Thank you for your contribution @indykoning. We have made a separate repository for this here https://github.com/paynl/magento2-graphql I will close this issue.