Our app (CustomerSure) is currently failing to check whether a certain Shopify customer has an active recurring charge which we use to set our internal status. In the partner area it shows that their charge is currently "frozen".
What causes the recurring charge to be frozen and is the charge still present on their account?
Currently our call to check for a current charge (ShopifyAPI::RecurringApplicationCharge.current
) is raising an exception, undefined method find called on nil, .all
appears to be the culprit, see:
Should we be checking an overall account status before asking for the current charge or is this an oversite in the gem that needs to check for a nil
return on .all
?