How can I test a payment gateway plugin without the frontend? #15382
Replies: 2 comments 3 replies
-
We highly discourage to fork Saleor, as maintaining a fork of such a large code base is very labor intensive, it also makes it impossible for the community to provide support or be able to upgrade |
Beta Was this translation helpful? Give feedback.
-
You can check doc chapters for AdyenPlugin, StripePlugin. It covers the whole API flow, to process the payment with payment-plugin. There is no general way of testing the payment-plugin implementation without storefront. Each payment provider has a different way of handling the process, so you need to figure out your own way of testing it (for example, compare the process for AdyenPlugin and StripePlugin. They're different). You could build a dummy storefront to process the payment, you can modify the sample payment provider storefront to communicate with Saleor, payment provider could also have some docs about testing the backend implementation without storefront. |
Beta Was this translation helpful? Give feedback.
-
I've made a plugin for a payment gateway called "MyFatoorah". The plugin is available in the plugins api.
I'm working on an edited saleor version and the storefront doesn't seem to work properly with it and I don't have access to the frontend, how can I test this plugin and make a payment without the frontend?
Beta Was this translation helpful? Give feedback.
All reactions