You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to see what was the reason that charge is rejected, I know the code is saying some kind a error, but I need to know the reason, for example. credit card is inactive, credit card is invalid, credit card is blocked or any other message, but I need to know the reason instead of code.
As 422 code have multiple reasons. thanks.
The text was updated successfully, but these errors were encountered:
How to see Error reason, when calling charge method.
I get following error.
ActiveResource::ResourceInvalid: Failed with 422 status code 422
when I do this
Chargify::Subscription.find(current_user.chargify_subscription_id).charge(:amount_in_cents => 10, :memo => 'Dry Cleaning Service')
I need to see what was the reason that charge is rejected, I know the code is saying some kind a error, but I need to know the reason, for example. credit card is inactive, credit card is invalid, credit card is blocked or any other message, but I need to know the reason instead of code.
As 422 code have multiple reasons. thanks.
The text was updated successfully, but these errors were encountered: