Reputation: 201
I have build a web application with Vue.js and .NET web API and I want to integrate Mollie Payment into the application, with their hosted checkout.
I tried using the provided repository https://github.com/Viincenttt/MollieApi but I do not understand how to start and how the whole infrastructure of the payment implementation works. Is this something that has to be done fully on the backend or fully on the frontend or both? How do payments need to be set-up to work? Are new controllers or other new files needed? How are the is API key from Mollie used?
Any help or advice would be highly appreciated!
Upvotes: 0
Views: 694
Reputation: 3998
You do not need any custom front-end implementation to handle the payment (this is optional). A good starting point for reading is this documentation page:
https://docs.mollie.com/payments/accepting-payments
What you need is:
The basic workflow is like this:
Payment
in Mollie)You should also make sure that you have a way to handle refunds and chargebacks on your endpoint. Technically, you don't even need to implement "making refunds" functionality in your app right away - you can trigger them from Mollie's admin panel, and handle the incoming webhook calls to get notified about them.
Upvotes: 2