woocommerce / woocommerce-blocks

(Deprecated) This plugin has been merged into woocommerce/woocommerce
https://wordpress.org/plugins/woo-gutenberg-products-block/
GNU General Public License v3.0
404 stars 217 forks source link

Audit: Razorpay for WooCommerce #9230

Closed nielslange closed 1 year ago

nielslange commented 1 year ago

Razorpay for WooCommerce

This issue is to track compatibility testing between this extension and the Cart and Checkout blocks. See the epic for the audit template which should be completed and posted as a comment here once completed.

tarhi-saad commented 1 year ago

We should create a Razorpay account to test this payment gateway. But, the onboarding is temporarily paused:

image

The Classic Checkout (The Shortcode version)

If we test this plugin being unauthenticated, we can see a new payment option in the classic Checkout:

image

But if we place an order with it, we get the ‘Authentication failed’ error:

image

The Checkout Block

If we go to the Checkout Block, we will notice that the Razorpay payment gateway isn't available under the Payment options section:

image

Although our Razorpay test was done while we were unauthenticated, we can assume this payment gateway isn't compatible with the Checkout Block based on the previous observations (i.e., the absence of the Razorpay payment option from the list of available payments).

A more conclusive test can be done later when the Razorpay payment gateway resumes onboarding!

@nielslange, should we close this issue or wait until we test the plugin while logged in?

nielslange commented 1 year ago

Thanks for reaching out, @tarhi-saad. I just replied to this question in p1683533651814859-slack-C8X6Q7XQU.

tarhi-saad commented 1 year ago

Extension Audit Template

Functionality Review

The Razorpay for WooCommerce Accept Payments through your WooCommerce store with Razorpay. The easiest integration, online onboarding, and best in class performance.

This extension touches: (mark all that apply)

Compatibility with Blocks

Currently, this extension is not compatible with WooCommerce blocks. It isn't displayed under the available payment gateways in the Checkout Block.

This implies there wasn't any integration done for the Checkout Block.

Issues identified:

Integration Required

This extension requires integration with:

Integration Points

Location Type Description Effort
Store API/Payment method registration Payment method registration Ensure the payment method is registered on the server side to process the payments unknown
Checkout block client Registering the payment method with the block Ensure the payment method is registered on the client side using registration methods exposed on the blocks-registry API unknown