Attempting to fetch transaction status using pollTransaction() throwing a rejected promise error
iammerus opened this issue · 1 comments
iammerus commented
When trying to fetch, the status of a transaction using its pollUrl
by calling pollTransaction
, the SDK is throwing an error "Invalid URI '/'". Seems to be occurring once the request has been passed to the HTTP client
To Reproduce
Steps to reproduce the behavior:
- Initiate a new transaction
- Get the
pollUrl
from theInitResponse
object - Call
pollTransaction
on thePaynow
instance passing in thepollUrl
- See error
Expected behavior
The SDK was supposed to return a PromiseLike<StatusResponse>
showing the current state of the transaction