Skip to content

Commit

Permalink
Merge pull request #424 from contentking/3dsecure-ways
Browse files Browse the repository at this point in the history
Support billing_info on Subscription, Invoice & Gift card
  • Loading branch information
bhelx committed Sep 12, 2019
2 parents d90efa3 + f2f96f4 commit 4b21f31
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/recurly/gift_card.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ protected function getWriteableAttributes() {
} else {
return array(
'product_code','unit_amount_in_cents','delivery',
'gifter_account','currency'
'gifter_account','currency',
'billing_info'
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/recurly/invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ protected function getNodeName() {
}
protected function getWriteableAttributes() {
return array(
'address', 'terms_and_conditions', 'customer_notes', 'vat_reverse_charge_notes',
'address', 'billing_info', 'terms_and_conditions', 'customer_notes', 'vat_reverse_charge_notes',
'collection_method', 'net_terms', 'po_number', 'currency', 'credit_customer_notes',
'gateway_code'
);
Expand Down
2 changes: 1 addition & 1 deletion lib/recurly/subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ protected function getNodeName() {
}
protected function getWriteableAttributes() {
return array(
'account', 'plan_code', 'coupon_code', 'coupon_codes',
'account', 'billing_info', 'plan_code', 'coupon_code', 'coupon_codes',
'unit_amount_in_cents', 'quantity', 'currency', 'starts_at',
'trial_ends_at', 'total_billing_cycles', 'first_renewal_date',
'timeframe', 'subscription_add_ons', 'net_terms', 'po_number',
Expand Down

0 comments on commit 4b21f31

Please sign in to comment.