-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404s are not handled correctly by the client. #74
Comments
Which version of balanced-php? |
I was on 0.7.3.1. I just updated to 0.7.5.0 and the error changed (still works on local machine, only broken on AWS)
Will create an example and upload soon |
To clarify - the error was occurring for you on both 0.7.3.1 and 0.7.5.0? |
The errors are different as shown above. |
Target of the stack trace - https://github.com/balanced/balanced-php/blob/master/src/Balanced/Errors/Error.php#L39 What's the marketplace URI @patrickyan ? |
Marketplace URI (live site on AWS exhibiting errors) - Marketplace URI (test local machine no errors) - |
What does the debit uri look like? |
Ah, that might have been the cause of the error. The URI being checked was I assume that a Balanced error should display though. |
yep, it looks like it's generating a 404. obviously a 404 should be surfaced to you correctly so we'll get that fixed. thanks for bringing this to our attention. |
had another customer see this today: https://botbot.me/freenode/balanced/2014-06-01/?msg=15484633&page=1 |
I am ^^^ That customer. I got my href through the balanced.js process, which Steve verified is correct and a valid href. When I try and pass it through my get function so I can add it to my market place it throws that error at me. If I use a predetermined href for a card already in my market place, it works fine. |
@NorthMcCormick was that an old href for a card? they expire after a couple of hours. if you want to jump on irc (freenode #balanced) we can help you troubleshoot it and resolve this quickly. |
The only thing I’m doing is
\Balanced\Debit::get($debit_uri);
. Everything works perfectly on my local machine through MAMP.The text was updated successfully, but these errors were encountered: