Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: API Documentation for custom payment gateway?
I can't seem to find any documentation on creating a module for ones own payment gateway. Can someone point me in the right direction if this exists?
thanks
thanks
We have documentation coming out in the next week. Someone from the team will update this thread when it's live. Thanks for your patience!
Hey Corbin,
I has been a month. when can we expect this documentation & where?
I has been a month. when can we expect this documentation & where?
Hi
That is simple if you see Liferay Commerce Source code.
You need to create a module like this :

This is my project strucure.
The commerce-payment-method-mercanet module is best sample to implement a new payment method.
That is simple if you see Liferay Commerce Source code.
You need to create a module like this :

This is my project strucure.
The commerce-payment-method-mercanet module is best sample to implement a new payment method.
Also here is my payment repository : https://github.com/liferay-ir/commerce-payment-method-irankish
I hope this help you.
I hope this help you.
You're great, Nader!
Sorry all for the bad estimate on when official docs will be published. They're still on the way.
Sorry all for the bad estimate on when official docs will be published. They're still on the way.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™