Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] payment_razorpay_oauth, _*: quick onboarding with payment razorpay #158578

Draft
wants to merge 1 commit into
base: 17.0
Choose a base branch
from

Conversation

nikj-odoo
Copy link
Contributor

_*=payment_razorpay, website_payment

In This PR Razorpay payment onboarding form to take advantage of the Razorpay Connect Onboarding Flow. It integrates the Razorpay Onboarding using the IAP proxy.

Purpose

Help users easily onboard with Razorpay by using the Razorpay Connect API.

Specification

1.Connect and authorized the razorpay account.

  • To connect to a sub-merchant's Razorpay account, the application redirects
    the user to a Razorpay-hosted webpage. The user can approve or deny the
    authorisation request on this page.

2.Get an access token.

  • After you obtain an access token, you can use it to access the sub-merchant
    data on Razorpay APIs. The access is controlled based on the scope requested
    for and granted by the user during the authorization process.

3.Get a refresh token.

  • You can use refresh tokens to generate a new access token. If your access
    token expires, you will receive a 4XX response from the API. You can make a
    request using your refresh token to generate a new access token.

4.Revoke token.

  • The API supports token revocation to enhance security and manage access.
    If needed, tokens can be revoked through this mechanism.

5.Create & update webhook.

  • This method is responsible for creating or updating the Razorpay webhook
    associated with the current Odoo instance.The webhook is crucial for
    updating payment states within Odoo when changes occur in Razorpay.

6.Revoke the application from Razorpay.

  • User can initiate the revocation of their application from the Razorpay side
    facilitating a seamless process for application revocation.

task-3537535

@robodoo
Copy link
Contributor

robodoo commented Mar 21, 2024

@C3POdoo C3POdoo added the RD research & development, internal work label Mar 21, 2024
@nikj-odoo nikj-odoo force-pushed the 17.0-add-payment_razorpay_auth-nikj branch 2 times, most recently from df863d6 to 1afc5aa Compare March 22, 2024 12:30
@nikj-odoo nikj-odoo force-pushed the 17.0-add-payment_razorpay_auth-nikj branch 4 times, most recently from c94b65d to 512334d Compare April 9, 2024 09:23
@nikj-odoo nikj-odoo force-pushed the 17.0-add-payment_razorpay_auth-nikj branch 5 times, most recently from 0c0d43b to 5fc93b8 Compare April 24, 2024 06:15
@nikj-odoo nikj-odoo force-pushed the 17.0-add-payment_razorpay_auth-nikj branch 5 times, most recently from b093654 to 2074900 Compare May 1, 2024 04:59
@nikj-odoo nikj-odoo changed the title [ADD] payment_razorpay_auth, _*: quick onboarding with payment razorpay [ADD] payment_razorpay_oauth, _*: quick onboarding with payment razorpay May 1, 2024
_* = payment_razorpay, website_payment

This commit Razorpay payment onboarding form to take advantage
of the Razorpay Connect Onboarding Flow. It integrates the Razorpay
Onboarding using the IAP proxy.

Purpose
=======
Help users easily onboard with Razorpay by using the Razorpay Connect API.

Specification
=============
1.  Connect and  authorized the razorpay account.
    To connect to a sub-merchant's Razorpay account, the application redirects
    the user to a Razorpay-hosted webpage. The user can approve or deny the
    authorisation request on this page.

2.  Get an access token.
    After you obtain an access token, you can use it to access the sub-merchant
    data on Razorpay APIs. The access is controlled based on the scope requested
    for and granted by the user during the authorization process.

3.  Get a refresh token.
    You can use refresh tokens to generate a new access token. If your access
    token expires, you will receive a 4XX response from the API. You can make a
    request using your refresh token to generate a new access token.

4.  Revoke token.
    The API supports token revocation to enhance security and manage access.
    If needed, tokens can be revoked through this mechanism.

5.  Create & update webhook.
    This method is responsible for creating or updating the Razorpay webhook
    associated with the current Odoo instance.The webhook is crucial for
    updating payment states within Odoo when changes occur in Razorpay.

6.  Revoke the application from Razorpay.
    User can initiate the revocation of their application from the Razorpay side
    facilitating a seamless process for application revocation.

task-3537535
@nikj-odoo nikj-odoo force-pushed the 17.0-add-payment_razorpay_auth-nikj branch from 2074900 to 0e15f53 Compare May 1, 2024 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants