[ADD] payment_razorpay_oauth, _*: quick onboarding with payment razorpay #158578
+861
−10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
_*=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.
the user to a Razorpay-hosted webpage. The user can approve or deny the
authorisation request on this page.
2.Get an access token.
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.
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.
If needed, tokens can be revoked through this mechanism.
5.Create & update 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.
facilitating a seamless process for application revocation.
task-3537535