razorpay / razorpay-php

Razorpay PHP Library
MIT License
183 stars 126 forks source link

Error In Wordpress if more then one plugin use Razor pay composer #359

Open Ri2rathod opened 1 year ago

Ri2rathod commented 1 year ago

Steps to reproduce the behavior

In a WordPress setup, when multiple plugins utilize the Razor Pay Composer package, an error arises due to the existence of a duplicate class.

Expected behavior

If there is a conflict between two plugins, it will not impact the site.

Actual behavior

Unable to access the site due to critical error.

Code snippets

No response

Php version

PHP V7.4

Library version

razor-pay 2.8.7

Additional Information

No response