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

Feature requests #65

Open
ramshengale opened this issue Nov 16, 2023 · 1 comment
Open

Feature requests #65

ramshengale opened this issue Nov 16, 2023 · 1 comment

Comments

@ramshengale
Copy link

ramshengale commented Nov 16, 2023

The plugin currently lacks a bunch of core features and has a bunch of bugs. Would request the team to please try to build these. It'll be helpful for everyone using the plugin.

  1. Allow switching between subscription plans aka upgrades / downgrades. It's currently not possible and the user gets a generic error. I think this might be technically challenging for UPI but should be easy to do in case of cards.

  2. Fix the notices produced in error logs because of mismatch in data received on webhook URL and the code that handles it. E.g.

[14-Nov-2023 16:31:14 UTC] PHP Warning:  Undefined array key 0 in /var/www/website.com/wp-content/plugins/razorpay-subscriptions-for-woocommerce/razorpay-subscriptions.php on line 294
[14-Nov-2023 16:33:42 UTC] PHP Warning:  Undefined array key 0 in /var/www/website.com/wp-content/plugins/razorpay-subscriptions-for-woocommerce/razorpay-subscriptions.php on line 294
[14-Nov-2023 20:01:30 UTC] PHP Warning:  Undefined array key "payment" in /var/www/website.com/wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php on line 94
[14-Nov-2023 20:01:30 UTC] PHP Warning:  Trying to access array offset on value of type null in /var/www/website.com/wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php on line 94
  1. If someone cancels a auto-mandate from UPI app, that cancels the subscription plan. Instead of this the subscription status should change to Pending Cancellation till the time subscription was already paid.

  2. If we want to give some discount on first month and continue full pricing for rest of the months, that's currently not possible. The plugin sets non-discounted pricing for all months.

  3. When someone pays using UPI, the payment first shows as Failed. But after 5 - 10 min when the webhook call happens from Razorpay, then the payment is recorded and subscription gets Active.

  4. With HPOS, renewal payments for other payment gateways are failing. A Fatal Error errors in Action Scheduler as follows:

Fatal error: Uncaught Error: Call to undefined method Razorpay\Api\Collection::resume()
in /var/www/website.com/wp-content/plugins/razorpay-subscriptions-for-woocommerce/includes/razorpay-subscriptions.php on line 451

Note that we use Stripe for accepting USD subscription payments and have none of these issues with their plugin. So it's quite frustrating to only face these issues with your plugin.

This hampers our regular day-to-day activity a lot because of all the complaints we get from our customers because of these issues.

@ramshengale
Copy link
Author

Any update on this? Is anyone looking into these issues? Would be great if you can add anybor all of these features in the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant