- Added adjustment refund support:
refund()
andtoRefundAttributes()
onRecurly_Adjustment
#133 - Added invoice refund supprt:
refund()
andrefundAmount()
onRecurly_Invoice
#133
- Force cURL to validate SSL certificates #122
- Reverted #64, removing
balance_in_cents_invoiced
andbalance_in_cents_uninvoiced
fromRecurly_Account
. They were never added to the API. - Added
tax_code
toRecurly_Plan
,Recurly_Addon
andRecurly_Adjustment
#120 - Added invoice previews:
Recurly_Invoice::previewPendingCharges($accountCode)
#112 - Added
terms_and_conditions
andcustomer_notes
toRecurly_Invoice
#115 - Added
vat_location_valid
field toRecurly_Account
#127 - Added
updateNotes()
andvat_reverse_charge
toRecurly_Subscription
. #128 - Added
vat_reverse_charge_notes
toRecurly_Invoice
. #128 - Added
invoice_number_prefix
andinvoiceNumberWithPrefix()
toRecurly_Invoice
. This is to be used with the Country Invoice Sequencing feature. #130
- Added remaining billing cycles to subscriptions:
$subscription->remaining_billing_cycles
#91 - Added subscription change preview for existing subscriptions:
$subscription->preview()
#94 - Remove readme reference to RecurlyJS v2 private key #97
- Adding bulk parameter to subscription creation #98
- Added account entity use code:
$account->entity_use_code
#100 - Added PHP 5.6 and HHVM to
travis.yml
(thanks to Nyholm) #101 - Update branch alias to 2.3.x-dev (thanks to bangpound) #102
- Bump phpunit to 4.2 #103
- Adds PayPal and Amazon support to
Recurly_BillingInfo
#104 - Adding bulk parameter to
$subscription->postpone()
#105
- Added tax details to adjustments:
$adjustment->tax_details
#90 - Added subscription previews:
$subscription->preview()
#90
- Added support for
Recurly_Account
fieldbalance_in_cents_invoiced
#64 - Added support for
Recurly_Account
fieldbalance_in_cents_uninvoiced
#64 - Added support for
Recurly_BillingInfo
fieldtoken_id
#83 - Fixed bug in parsing large XML responses #88
- Explictly call
Recurly_Resource
's constructor #67 - More tests for coupons #77
- Document where new releases are announced in the README #78
- Fixed error where where
Recurly_Addon
was not found #79 by baxevanis - Fixed bug setting account address #80 by deviantintegral
- Fixed error when trying to redeem expired or maxed out coupons (thanks to jeffchannell)
- Improved documentation of
Recurly_PushNotification
(thanks to richardkmiller) - Updated XML in test fixtures
- Better tests for
Recurly_Adjustment
- Use PHPUnit for testing
- Remove old
taxable
parameter fromRecurly_Adjustment
- Send
null
attributes becauseRecurly_PlanTest
needstotal_billing_cycles
to be set tonull
for unlimited renewals.
- Fixed errors thrown due to empty XML strings #62 beaudesigns
- Fixed invalid XML errors when saving subscriptions with add-ons.
- Added support for manual payments
- Added support for account level address
- Moved VAT number to Account
- Added support for client subdomains, the default of 'api' should be fine for most users.
- Added support for fetching account notes.
- Fixed fatal error in
Recurly_Invoice::getInvoicePdf()
. - Fixed fatal error in
Recurly_Account::close()
. - Added
reopen()
andreopenAccount
toRecurly_Account
.
- Added Composer support (SimpleTest is no longer bundled, use
composer install --dev
to install it) - Added
Recurly_AccountList::getClosed()
- Added
update()
andaccounting_code
toRecurly_Addon
andRecurly_Transaction
- Improved test coverage
- Lists now implement Countable and IteratorAggregate
- Fixed fatal errors in delete methods
- Fixed problems marking invoices successful/failed
- Support marking invoices as successful/failed
- Add subscriptions postpone functionality
- Support for subscriptions 'first_renewal_date' attribute.
- Fix problem where require parameters are sometimes not sent in requests (such as account_code).
- Fix un-pageable array results (no href is present), such as invoice/transactions.
- Fix transaction refunding, which was sending to a deprecated route.
- Fix Recurly.js token retrieval
- Improved Recurly.js support for Recurly.js v2.1.x. Supports optional parameters, simplified signatures, etc.
NOTE: Recurly.js signature and result retrieval is not backwards compatible with 2.0.x version of the client.
- Better parsing of transaction errors on one-time transaction requests.
- Parse an array of plan_codes as strings in the coupon response.
- Update subscription create URL to the endpoint that auto-creates the account if it does not exist.
- Accept transaction description.
- Fix creating subscription when add-ons is an empty array. Added tests.
- Always send list of addons when performing a subscription update.
- Fixed URL for
Recurly_CouponRedemption::get()
. - Added
Recurly_TransactionList::getForAccount()
. - Add coupon redemption via
$coupon->redeemCoupon('account_code')
. - Properly encode
plan_codes
when limiting coupons to specific plans.
- Support for creating a subscription with add-ons (thanks to @qqqq).
- Attributes with a date are now DateTime objects instead of epoch timestamps.
- Use
rawurlencode()
instead ofurlencode()
to create resource URLs. Required for URLs that contain spaces - Raise
Recurly_ValidationError
for 422 instead ofRecurly_RequestError
. Bug introduced in earlier commit today
- Fix
Recurly_InvoiceList::getForAccount()
,SubscriptionList::getForAccount()
- Interpret 4xx as request errors and 5xx as server errors for future error codes
- Include method to retrieve invoice as PDF
Merged fixes from beaudesigns:
- Replaced static class to DomDocument::loadXML()
- "pending_subscription" now loads class
Recurly_Subscription
- Fixed references to $this that should have been local scopes
- Full rewrite for API v2