콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
1841 화면

Hi, I am new to Odoo development. I want to develop a module to accept recurring or subscription payments within my custom payment gateway module. 

Please advise.


아바타
취소
작성자 베스트 답변

Thanks for your response. 

Can you provide more information about 'Handle Recurring Payments' with some example. 

For refund and capture functionality, Odoo provides trigger functions like '_send_refund_request' and '_send_capture_request'. Using these functions, we can build the refund and capture functionality.

So, for subscription or recurring payments, which trigger function do we use?


아바타
취소
베스트 답변

Hello,

To develop a module for accepting recurring or subscription payments within your custom payment gateway module in Odoo, you'll need to follow these general steps:

1. Create a New Odoo Module: Start by creating a new Odoo module for your payment gateway integration if you haven't already done so. You can use the Odoo Developer Mode to create a new module or manually create the necessary files and folders.

2. Define Payment Gateway Configuration: Define the configuration parameters for your payment gateway, such as API credentials, endpoint URLs, and any other required settings. You can use Odoo's configuration settings to store these values.

3. Implement Payment Processing Logic: Implement the logic for processing payments using your payment gateway. This may involve sending requests to the payment gateway API to create recurring payment plans or subscriptions, as well as handling responses from the gateway.

4. Integrate with Odoo's Payment Processing: Integrate your payment gateway module with Odoo's payment processing system. This typically involves extending the payment module in Odoo and implementing the necessary methods to handle payment requests and responses.

5. Handle Recurring Payments: If you're implementing recurring or subscription payments, you'll need to implement logic for handling recurring payments, such as automatically charging customers on a recurring basis and updating payment statuses.

6. Testing and Validation: Test your module thoroughly to ensure that it works as expected. You may need to create test accounts with your payment gateway to test the integration in a sandbox environment.

7. Documentation and Support: Provide documentation for your module, including installation instructions and usage guidelines. Offer support to users who may have questions or issues with your module.


If you need more specific guidance or help with any step of the development process, feel free to ask!


Hope it helps

아바타
취소
관련 게시물 답글 화면 활동
4
2월 25
7337
0
6월 17
4099
1
8월 25
1428
3
12월 24
3405
1
8월 24
2431