Closed (fixed)
Project:
Recurly
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Mar 2013 at 23:47 UTC
Updated:
23 Apr 2013 at 14:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
eojthebraveHmm. It appears that there are actually more issues here. When Recurly_Account::get() doesn't find an account it returns a 404 Recurly_ClientResponse object, which is validated by ::assertValidResponse() which in turn throws a new Recurly_NotFoundError, which isn't handled, and $remote_account is never set to anything ... and the code after that to create a new account never gets called.
This should fix that.
Comment #2
quicksketchThanks! Committed.
Comment #3
quicksketch