🌎 Environment
- OS Version: Andoid 15
- Version/Commit: 4.7.0
💬 Description
When trying to load AfterPayWidgetView using init(token = $token, {},{},{}), we experience below error. This could be due to totalCost being null. We might need to provide access to pass totalCost as well through init() instead of separate init() for passing both. And if we use init() with totalCost, checksum returning as null.
Unexpected JSON token at offset 9: Expected start of the object '{', but had '"' instead at path: $.error
JSON input: {"error":"An error occurred","isValid":false,"renderType":"PAYMENT_SCHEDULE","type":"error"}
🦶 Reproduction Steps
Steps to reproduce the behavior:
# 🤔 Expected Results
PaymentSchedule should display without any errors
# 😲 Actual Results
Showing error
## Screenshots

## 📄 Stack Traces
# 🤝 Related Issues
<!--
Please provide references to any thing you think is related to this issue. Include other PRs, Issues or links to things such as Stack Overflow posts, etc.
-->
Related PRs, Issues, Links:
- #xxx, #yyy
🌎 Environment
💬 Description
When trying to load AfterPayWidgetView using init(token = $token, {},{},{}), we experience below error. This could be due to totalCost being null. We might need to provide access to pass totalCost as well through init() instead of separate init() for passing both. And if we use init() with totalCost, checksum returning as null.
Unexpected JSON token at offset 9: Expected start of the object '{', but had '"' instead at path: $.error
JSON input: {"error":"An error occurred","isValid":false,"renderType":"PAYMENT_SCHEDULE","type":"error"}
🦶 Reproduction Steps