Skip to content
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

Add bank_account_authorized_at to subscriptions #156

Merged
merged 1 commit into from
May 26, 2015

Conversation

cbarton
Copy link
Member

@cbarton cbarton commented May 7, 2015

For back dating bank account authorization when importing subscriptions, the API user can specify a bank_account_authorized_at timestamp of when that authorization occurred.

cc/ @drewish

tests:

$account = Recurly_Account::get('<account_code>');
$sub = new Recurly_Subscription();
$sub->plan_code = '<plan_code>';
$sub->currency = 'USD';
$sub->account = $account;
$sub->bank_account_authorized_at = '2015-02-15T08:00:00+00:00';
$sub->create();

$sub = Recurly_Subscription::get($sub->uuid);
var_dump($sub->bank_account_authorized_at); //> 2015-02-15 08:00:00.000000"

@cbarton cbarton force-pushed the bank_account_authorized_at branch from ec3b492 to 110f52b Compare May 7, 2015 20:29
@cbarton cbarton force-pushed the bank_account_authorized_at branch from 110f52b to 5772e17 Compare May 20, 2015 00:08
@drewish
Copy link

drewish commented May 26, 2015

+1

drewish added a commit that referenced this pull request May 26, 2015
Add bank_account_authorized_at to subscriptions
@drewish drewish merged commit f6fe53d into master May 26, 2015
@drewish drewish deleted the bank_account_authorized_at branch May 26, 2015 19:28
@bhelx bhelx added the V2 V2 Client label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V2 V2 Client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants