Display correct response from Update and Delete Zuora actions
Summary
When updating the payment on the "Payment Methods" page, if the error responded back from Zuora the same error is shown in the string format instead of bulleted points like perviously.
This happens only when Zuora is using the REST API.
Steps to reproduce
- Login and go to Payments Method page.
- Make sure you have atleast one payment method present
- Edit the payment and set the Expiration Date last month or before that.
- Press Update
What is the current bug behavior?
Error is displayed as String and not the expected message on top of page.
Body: [{"Errors"=>[{"Code"=>"INVALID_VALUE", "Message"=>"Expiration date must be a future date."}], "Success"=>false}]
What is the expected correct behavior?
The error string should display
Expiration date must be a future date.
Relevant logs and/or screenshots
Workarounds
(Ways to get around the issue)