Thanks for the extension. Facing an issue when the customer is deleted from stripe dashboard. Receiving the following error when I try to create a new subscribe as it is not reflected in our database:
Call to a member function create() on null in /home/alkurnw1/public_html/clients/service-for-you-app/vendor/yii2mod/yii2-cashier/SubscriptionBuilder.php:179
Hi,
Thanks for the extension. Facing an issue when the customer is deleted from stripe dashboard. Receiving the following error when I try to create a new subscribe as it is not reflected in our database: Call to a member function create() on null in /home/alkurnw1/public_html/clients/service-for-you-app/vendor/yii2mod/yii2-cashier/SubscriptionBuilder.php:179
We need to check the customer exist at stripe dashboard in getStripeCustomer function at this line https://github.com/yii2mod/yii2-cashier/blob/ddd8cf8bd077d75c799d1114355ae47523c34070/SubscriptionBuilder.php#L212