Wpresidence -Theme Core Functionality
PluginChangelog 419
Every release, newest first, as the vendor published it in the plugin’s changelog.
12.0.0
Removed Not available yet⚠️ ACTION REQUIRED: the breaking change in this release likely affects you ⚠️
Version pinning
In this release, Stripe API Version 2023-08-16 (the latest at time of release) will be sent by default on all requests. This is a significant change with wide ramifications. The API version affects the properties you see on responses, the parameters you are allowed to send on requests, and so on. The previous default was to use your Stripe account's default API version.
To successfully upgrade to stripe-php v12, you must either
-
(Recommended) Upgrade your integration to be compatible with API Version
2023-08-16.Please read the API Changelog carefully for each API Version from
2023-08-16back to your Stripe account's default API version. Determine if you are using any of the APIs that have changed in a breaking way, and adjust your integration accordingly. Carefully test your changes with Stripe Test Mode before deploying them to production.You can read the v12 migration guide for more detailed instructions.
-
(Alternative option) Specify a version other than
2023-08-16when initializingstripe-php.If you were previously initializing stripe-php without an explicit API Version, you can postpone modifying your integration by specifying a version equal to your Stripe account's default API version. For example:
// if using StripeClient - $stripe = new \Stripe\StripeClient('sk_test_xyz'); + $stripe = new \Stripe\StripeClient([ + 'api_key' => 'sk_test_xyz', 'stripe_version' => '2020-08-27', + ]); // if using the global client Stripe.apiKey = "sk_test_xyz"; + Stripe::setApiVersion('2020-08-27');If you were already initializing stripe-php with an explicit API Version, upgrading to v12 will not affect your integration.
Read the v12 migration guide for more details.
Going forward, each major release of this library will be pinned by default to the latest Stripe API Version at the time of release.
That is, instead of upgrading stripe-php and separately upgrading your Stripe API Version through the Stripe Dashboard, whenever you upgrade major versions of stripe-php, you should also upgrade your integration to be compatible with the latest Stripe API version.
Other changes
" ⚠️" symbol highlights breaking changes.
-
#1553⚠️ Remove deprecated enum value
Invoice.STATUS_DELETE -
#1550 PHPDoc changes
- Remove support for
alternate_statement_descriptors,destination, anddisputeonCharge - Remove support for value
charge_refundedfrom enumDispute.status - Remove support for
renderingonInvoice - Remove support for
attributes,caption, anddeactivate_ononProduct
- Remove support for
11.0.0
Not available yetPlease do not use stripe-php v11. It did not correctly apply the pinning behavior and was removed from packagist
10.21.0
New Not available yet- #1546 Update generated code
- Add support for new value
payment_reversalon enumBalanceTransaction.type - Add support for new value
adjusted_for_overdrafton enumCustomerBalanceTransaction.type
- Add support for new value
10.20.0
New Not available yet- #1539 Update generated code
- Add support for
subscription_detailsonInvoice - Add support for new values
sepa_debit_fingerprintandus_bank_account_fingerprinton enumRadar.ValueList.item_type
- Add support for
10.19.0
New Improved Not available yet- #1534 Update generated code
- Improve PHPDoc type for
ApplicationFee.refunds - Add support for
deletedonApps.Secret
- Improve PHPDoc type for
- #1526 Add constants for payment intent cancellation reasons
- #1533 Update generated code
- Add support for new value
service_taxon enumTaxRate.tax_type
- Add support for new value
- #1487 PHPDoc: use union of literals for $method parameter throughout
10.18.0
New Not available yet10.17.0
New Not available yet- #1525 Update generated code
- Add support for new resource
Tax.Settings - Add support for
retrieveandupdatemethods on resourceSettings - Add support for new value
invalid_tax_locationon enumStripeError.code - Add support for
productonTax.TransactionLineItem - Add constant for
tax.settings.updatedwebhook event
- Add support for new resource
- #1520 Update generated code
- Release specs are identical.
10.16.0
New Improved Not available yet- #1517 Update generated code
- Add support for new value
application_fees_not_allowedon enumStripeError.code - Add support for
effective_atonCreditNoteandInvoice - Add support for
on_behalf_ofonMandate
- Add support for new value
- #1514 Update generated code
- Release specs are identical.
- #1512 Update generated code
- Change type of
Checkout.Session.success_urlfromstringtonullable(string)
- Change type of
10.15.0
New Not available yet- #1506 Update generated code
- Add support for
preferred_localesonIssuing.Cardholder
- Add support for
10.14.0
New Not available yet10.13.0
New Improved Not available yet-
#1490 Update generated code
- Add support for
paypalonPaymentMethod - Add support for
effective_percentageonTaxRate
- Add support for
-
#1488 Increment PHPStan to strictness level 2
-
#1483 Update generated code
-
#1480 Update generated code
- Change type of
Identity.VerificationSession.optionsfromVerificationSessionOptionstonullable(VerificationSessionOptions) - Change type of
Identity.VerificationSession.typefromenum('document'|'id_number')tonullable(enum('document'|'id_number'))
- Change type of
-
#1478 Update generated code
- Release specs are identical.
-
#1475 Update generated code
10.12.1
New Not available yet- #1473 Update generated code
- Add back
deletedfromInvoice.status.
- Add back
10.12.0
Removed Not available yet- #1470 Update generated code
- Remove support for
createmethod on resourceTax.Transaction- This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the
createFromCalculationmethod.
- This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the
- Remove support for value
deletedfrom enumInvoice.status- This is not a breaking change, as the value was never returned or accepted as input.
- Remove support for
- #1468 Trigger workflow for tags
- #1467 Update generated code (new)
- Release specs are identical.
10.11.0
New Not available yet- #1458 Update generated code
- Add support for new resources
Tax.CalculationLineItem,Tax.Calculation,Tax.TransactionLineItem, andTax.Transaction - Add support for
createandlist_line_itemsmethods on resourceCalculation - Add support for
create_from_calculation,create_reversal,create,list_line_items, andretrievemethods on resourceTransaction - Add support for
currency_conversiononCheckout.Session - Add support for new value
automatic_asyncon enumPaymentIntent.capture_method - Add support for new value
linkon enumPaymentLink.payment_method_types[] - Add support for
automatic_payment_methodsonSetupIntent
- Add support for new resources
10.10.0
New Not available yet- #1457 API Updates
- Add support for
future_requirementsandrequirementsonBankAccount - Add support for new value
automatic_asyncon enumPaymentIntent.capture_method - Add support for new value
cashappon enumPaymentLink.payment_method_types[] - Add support for
cashapponPaymentMethod - Add support for new value
cashappon enumPaymentMethod.type
- Add support for
- #1454 Update generated code (new)
- Add support for new value
cashappon enumPaymentLink.payment_method_types[] - Add support for
cashapponPaymentMethod - Add support for new value
cashappon enumPaymentMethod.type
- Add support for new value
10.9.1
Not available yet- #1453 Restore StripeClient.getService
10.9.0
New Fixed Not available yet-
#1450 API Updates
- Add support for
cancellation_detailsonSubscription - Fix return types on custom methods (extends https://github.com/stripe/stripe-php/pull/1446)
- Add support for
-
#1446 stripe->customers->retrievePaymentMethod returns the wrong class (type hint)
10.8.0
New Not available yet- #1447 API Updates
- Add support for
reconciliation_statusonPayout - Add support for new value
lease_taxon enumTaxRate.tax_type
- Add support for
10.7.0
New Not available yet- #1444 API Updates
- Add support for new value
igston enumTaxRate.tax_type
- Add support for new value
10.6.1
Not available yet- #1443 Remove init.php from the list of ignored files
10.6.0
New Not available yet- #1441 API Updates
- Add support for
refund_paymentmethod on resourceTerminal.Reader - Add support for
custom_fieldsonCheckout.SessionandPaymentLink
- Add support for
- #1236 subscription_proration_date not always presented in Invoice
- #1431 Fix: Do not use unbounded version constraint for
actions/checkout - #1436 Enhancement: Enable and configure
visibility_requiredfixer - #1432 Enhancement: Update
actions/cache - #1434 Fix: Remove parentheses
- #1433 Enhancement: Run tests on PHP 8.2
- #1438 Update .gitattributes
10.5.0
New Not available yet- #1439 API Updates
- Add support for
resumemethod on resourceSubscription - Add support for
amount_shippingandshipping_costonCreditNoteandInvoice - Add support for
shipping_detailsonInvoice - Add support for
invoice_creationonPaymentLink - Add support for
trial_settingsonSubscription - Add support for new value
pausedon enumSubscription.status
- Add support for
10.4.0
New Not available yet-
#1381 Add getService methods to StripeClient and AbstractServiceFactory to allow mocking
-
#1424 API Updates
- Added
REFUND_CREATED,REFUND_UPDATEDevent definitions.
- Added
-
#1426 Ignore PHP version for formatting
-
#1425 Fix Stripe::setAccountId parameter type
-
#1418 Switch to mb_convert_encoding to fix utf8_encode deprecation warning
10.3.0
Improved Not available yet- #1413 API Updates
Change
CheckoutSession.cancel_urlto be nullable.
10.2.0
New Not available yet10.1.0
New Removed Not available yet- #1405 API Updates
- Add support for
flowonBillingPortal.Session
- Add support for
- #1404 API Updates
- Remove support for resources
OrderandSku - Remove support for
all,cancel,create,list_line_items,reopen,retrieve,submit, andupdatemethods on resourceOrder - Remove support for
all,create,delete,retrieve, andupdatemethods on resourceSku - Add support for
custom_textonCheckout.SessionandPaymentLink - Add support for
invoice_creationandinvoiceonCheckout.Session - Remove support for
productonLineItem - Add support for
latest_chargeonPaymentIntent - Remove support for
chargesonPaymentIntent
- Remove support for resources
10.0.0
Removed Not available yet- #1392 Next major release changes
Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-11-15.
"⚠️" symbol highlights breaking changes.
Deprecated
- #1382 Mark
resource.saveas deprecated. Prefer the static update method that doesn't require retrieval of the resource to update it.
// before
$resource = Price::retrieve(self::TEST_RESOURCE_ID);
$resource->metadata['key'] = 'value';
$resource->save();
// after
$resource = Price::update('price_123', [
'metadata' => ['key' => 'value'],
]);
⚠️ Removed
9.9.0
New Not available yet9.8.0
New Not available yet9.7.0
New Not available yet9.6.0
New Not available yet- #1365 API Updates
- Add support for
from_invoiceandlatest_revisiononInvoice - Add support for new value
pixon enumPaymentLink.payment_method_types[] - Add support for
pixonPaymentMethod - Add support for new value
pixon enumPaymentMethod.type - Add support for
createdonTreasury.CreditReversalandTreasury.DebitReversal
- Add support for
9.5.0
New Not available yet9.4.0
New Improved Not available yet- #1362 API Updates
- Add support for
login_pageonBillingPortal.Configuration
- Add support for
- #1360 Add test coverage using Coveralls
- #1361 fix: Fix type hints for error objects.
- Update
Invoice.last_finalization_error,PaymentIntent.last_payment_error,SetupAttempt.setup_errorandSetupIntent.setup_errortype to beStripeObject.- Addresses https://github.com/stripe/stripe-php/issues/1353. The library today does not actually return a
ErrorObjectfor these fields, so the type annotation was incorrect.
- Addresses https://github.com/stripe/stripe-php/issues/1353. The library today does not actually return a
- Update
- #1356 Add beta readme.md section
9.3.0
Improved Not available yet- #1355 API Updates
- Change type of
Treasury.OutboundTransfer.destination_payment_methodfromstringtostring | null - Change the return type of
CustomerService.fundCashBalancetest helper fromCustomerBalanceTransactiontoCustomerCashBalanceTransaction.- This would generally be considered a breaking change, but we've worked with all existing users to migrate and are comfortable releasing this as a minor as it is solely a test helper method. This was essentially broken prior to this change.
- Change type of
9.2.0
New Not available yet- #1352 API Updates
- Add support for new resource
CustomerCashBalanceTransaction - Add support for
currencyonPaymentLink - Add constant for
customer_cash_balance_transaction.createdwebhook event.
- Add support for new resource
- #1351 Add a support section to the readme
- #1304 Allow passing PSR-3 loggers to setLogger as they are compatible
9.1.0
New Not available yet9.0.0
New Improved Removed Not available yetBreaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-php/wiki/Migration-guide-for-v9. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
"⚠️" symbol highlights breaking changes.
- #1344 API Updates
- #1337 API Updates
- #1273 Add some PHPDoc return types and fixes
- #1341 Next major release changes
Added
- Add
alternate_statement_descriptors,authorization_code, andlevel3properties toChargeresource. - Add
previewLinesmethod toCreditNoteresource. - Add
transfer_dataproperty toSubscriptionresource. - Add
SOURCE_TYPE_FPXconstant toTransferresource. - Add new error code constants to
ErrorObject. - Add support for
shipping_costandshipping_detailsonCheckout.Session
⚠️ Changed
- Updated certificate bundle (#1314)
- Add
paramsparameter toclosemethod inDisputeresource.
⚠️ Removed
- Remove deprecated
AlipayAccount,BitcoinReceiver,BitcoinTransaction,Recipient,RecipientTransfer, andThreeDSecureresources. - Remove
CAPABILITY_CARD_PAYMENTS,CAPABILITY_LEGACY_PAYMENTS,CAPABILITY_PLATFORM_PAYMENTS,CAPABILITY_TRANSFERS,CAPABILITY_STATUS_ACTIVE,CAPABILITY_STATUS_INACTIVE, andCAPABILITY_STATUS_PENDINGconstants fromAccountresource. Please use up-to-date values from https://stripe.com/docs/connect/account-capabilities. - Remove
AssociatedObjectsarray property fromEphemeralKeyresource. The field was undocumented and unsupported. - Remove
detailsmethod fromCardresource. The endpoint was deprecated and no longer exists. - Remove
recipientproperty fromCardresource. The property was deprecated. - Remove ability to list
Cardresources for a particularRecipient. - Remove
sourcesproperty fromCardresource. The property was deprecated. - Remove
FAILURE_REASONconstant fromRefundresource. The value was deprecated. - Remove
Recipientresource. The resource was deprecated. - Remove
OrderItemresource. The resource was deprecated. - Remove
allmethod fromLineItem. - Remove
cancelmethod fromTransferandTransferService. This method is deprecated. - Remove
allTransactionsmethod fromSourceServiceservice. Please useallSourceTransactionsmethod instead. - Remove
personsmethod fromAccountresource. Please useallPersonsmethod instead. - Remove
sourceTransactionsmethod fromSourceresource. Please useallSourceTransactionsmethod instead. - Remove
usageRecordSummariesmethod fromSubscriptionItemresource. Please useallUsageRecordSummariesmethod instead. - Remove
SOURCE_TYPE_ALIPAY_ACCOUNTandSOURCE_TYPE_FINANCINGconstants fromTransferresource. The values were deprecated and are no longer in use. - Remove deprecated error code constants from
ErrorObject:CODE_ACCOUNT_ALREADY_EXISTS,CODE_ORDER_CREATION_FAILED,CODE_ORDER_REQUIRED_SETTINGS,CODE_ORDER_STATUS_INVALID,CODE_ORDER_UPSTREAM_TIMEOUT, andCODE_UPSTREAM_ORDER_CREATION_FAILED. - Remove deprecated event constants from
Webhook:ISSUER_FRAUD_RECORD_CREATED,ORDER_PAYMENT_FAILED,ORDER_PAYMENT_SUCCEEDED,ORDER_UPDATED,ORDER_RETURN_CREATED,PAYMENT_METHOD_CARD_AUTOMATICALLY_UPDATED,PING,PROMOTION_CODE_DELETED, andTREASURY_RECEIVED_CREDIT_REVERSED. The events are deprecated and no longer sent by Stripe.
8.12.0
New Not available yet- #1332 API Updates
- Add support for
default_currencyandinvoice_credit_balanceonCustomer
- Add support for
8.11.0
New Improved Not available yet- #1324 API Updates
- Add support for new value
blikon enumPaymentLink.payment_method_types[] - Add support for
blikonPaymentMethod - Add support for new value
blikon enumPaymentMethod.type - Add
Invoice.upcomingLinesmethod. - Add
SourceService.allSourceTransactionsmethod.
- Add support for new value
- #1322 API Updates
- Change type of
source_typeonTransferfrom nullable string to string (comment-only change)
- Change type of
8.10.0
New Not available yet- #1319 API Updates
- Add support for
currency_optionsonCouponandPrice - Add support for
currencyonSubscription
- Add support for
- #1318 API Updates
- Add support for new values financial_connections.account.created, financial_connections.account.deactivated, financial_connections.account.disconnected, financial_connections.account.reactivated, and financial_connections.account.refreshed_balance on
Event.
- Add support for new values financial_connections.account.created, financial_connections.account.deactivated, financial_connections.account.disconnected, financial_connections.account.reactivated, and financial_connections.account.refreshed_balance on
8.9.0
New Improved Not available yet- #1316 API Updates
- Add support for
deliver_card,fail_card,return_card, andship_cardtest helper methods on resourceIssuing.Card - Add support for
subtotal_excluding_taxonCreditNoteandInvoice - Add support for
amount_excluding_taxandunit_amount_excluding_taxonCreditNoteLineItemandInvoiceLineItem - Add support for
total_excluding_taxonInvoice - Change type of
PaymentLink.payment_method_types[]fromliteral('card')toenum - Add support for
promptpayonPaymentMethod - Add support for new value
promptpayon enumPaymentMethod.type - Add support for
hosted_regulatory_receipt_urlandreversal_detailsonTreasury.ReceivedCreditandTreasury.ReceivedDebit
- Add support for
8.8.0
New Not available yet8.7.0
New Not available yet-
#1306 API Updates
- Add support for
fund_cash_balancetest helper method on resourceCustomer - Add support for
total_excluding_taxonCreditNote - Add support for
rendering_optionsonInvoice
- Add support for
-
#1307 Support updating pre-release versions
-
#1305 Trigger workflows on beta branches
-
#1302 API Updates
- Add support for
custom_unit_amountonPrice
- Add support for
-
#1301 API Updates
Documentation updates.
8.6.0
New Not available yet- #1300 API Updates
- Add support for
attach_to_selfandflow_directionsonSetupAttempt
- Add support for
8.5.0
New Not available yet- #1298 API Updates
- Add support for
radar_optionsonChargeandPaymentMethod - Add support for new value
simulated_wisepos_eon enumTerminal.Reader.device_type
- Add support for
8.4.0
New Not available yet8.3.0
New Not available yet8.2.0
New Not available yet- #1286 API Updates
- Add support for new resources
Treasury.CreditReversal,Treasury.DebitReversal,Treasury.FinancialAccountFeatures,Treasury.FinancialAccount,Treasury.FlowDetails,Treasury.InboundTransfer,Treasury.OutboundPayment,Treasury.OutboundTransfer,Treasury.ReceivedCredit,Treasury.ReceivedDebit,Treasury.TransactionEntry, andTreasury.Transaction - Add support for
retrieve_payment_methodmethod on resourceCustomer - Add support for
allandlist_ownersmethods on resourceFinancialConnections.Account - Add support for
treasuryonIssuing.Authorization,Issuing.Dispute, andIssuing.Transaction - Add support for
financial_accountonIssuing.Card - Add support for
client_secretonOrder - Add support for
attach_to_selfandflow_directionsonSetupIntent
- Add support for new resources
8.1.0
New Not available yet- #1284 API Updates
- Add support for
consent_collection,customer_creation,payment_intent_data,shipping_options,submit_type, andtax_id_collectiononPaymentLink - Add support for
descriptiononSubscription
- Add support for
8.0.0
New Removed Not available yet- #1283 Major version release of v8.0.0. The migration guide contains more information.
(⚠️ = breaking changes):
- ⚠️ Replace the legacy
OrderAPI with the newOrderAPI.- Resource modified:
Order. - New methods:
cancel,list_line_items,reopen, andsubmit - Removed methods:
payandreturn_order - Removed resources:
OrderItemandOrderReturn - Removed references from other resources:
Charge.order
- Resource modified:
- ⚠️ Rename
\FinancialConnections\Account.refreshmethod to\FinancialConnections\Account.refresh_account - Add support for
amount_discount,amount_tax, andproductonLineItem
- ⚠️ Replace the legacy
7.128.0
New Not available yet- #1282 API Updates
- Add support for
default_priceonProduct - Add support for
instructions_emailonRefund
- Add support for
7.127.0
New Not available yet7.126.0
New Improved Not available yet- #1276 API Updates
- Add support for new resource
CashBalance - Change type of
BillingPortal.Configuration.applicationfrom$Applicationtodeletable($Application) - Add support for
cash_balanceonCustomer - Add support for
applicationonInvoice,Quote,SubscriptionSchedule, andSubscription - Add support for new value
eu_oss_vaton enumTaxId.type
- Add support for new resource
- #1274 Fix PHPDoc on Discount for nullable properties
- #1272 Allow users to pass a custom IPRESOLVE cURL option.
7.125.0
New Not available yet- #1270 API Updates
- Add support for
expiretest helper method on resourceRefund
- Add support for
7.124.0
New Not available yet- #1265 API Updates
- Add support for new resources
FundingInstructionsandTerminal.Configuration - Add support for
create_funding_instructionsmethod on resourceCustomer - Add support for
amount_detailsonPaymentIntent - Add support for
customer_balanceonPaymentMethod - Add support for new value
customer_balanceon enumPaymentMethod.type - Add support for
configuration_overridesonTerminal.Location
- Add support for new resources
7.123.0
New Not available yet7.122.0
New Not available yet7.121.0
New Not available yet- #1258 API Updates
- Add support for
cancel_action,process_payment_intent,process_setup_intent, andset_reader_displaymethods on resourceTerminal.Reader - Add support for
actiononTerminal.Reader
- Add support for
7.120.0
New Not available yet- #1257 API Updates
- Add support for Search API
- Add support for
searchmethod on resourcesCharge,Customer,Invoice,PaymentIntent,Price,Product, andSubscription
- Add support for
- Add support for Search API
7.119.0
New Not available yet- #1256 API Updates
- Add support for PayNow and US Bank Accounts Debits payments
- Add support for
paynowandus_bank_accountonPaymentMethod - Add support for new values
paynowandus_bank_accounton enumPaymentMethod.type
- Add support for
- Add support for
failure_balance_transactiononCharge
- Add support for PayNow and US Bank Accounts Debits payments
7.118.0
New Not available yet- #1255 API Updates
- Add support for
cancelmethod on resourceRefund - Add support for new values
bg_uic,hu_tin, andsi_tinon enumTaxId.type - Add
test_helpers.test_clock.advancing,test_helpers.test_clock.created,test_helpers.test_clock.deleted,test_helpers.test_clock.internal_failure, andtest_helpers.test_clock.readyevents.
- Add support for
7.117.0
New Not available yet7.116.0
New Not available yet- #1248 API Updates
- Add support for
proration_detailsonInvoiceLineItem
- Add support for
7.115.0
New Not available yet- #1245 #1247 API Updates
- Add support for new resource
TestHelpers.TestClock - Add support for
test_clockonCustomer,Invoice,InvoiceItem,Quote,Subscription, andSubscriptionSchedule - Add support for
next_actiononRefund - Add support for
konbinionPaymentMethod
- Add support for new resource
- #1244 API Updates
- Add support for new values
bbpos_wisepad3andstripe_m2on enumTerminal.Reader.device_type
- Add support for new values
7.114.0
New Not available yet7.113.0
New Not available yet- #1239 API Updates
- Add
REASON_EXPIRED_UNCAPTURED_CHARGEenum value onRefund.
- Add
7.112.0
New Not available yet- #1235 API Updates
- Add support for
phone_number_collectiononPaymentLink - Add support for new value
is_vaton enumTaxId.type
- Add support for
7.111.0
New Not available yet- #1233 API Updates
- Add support for new resource
PaymentLink - Add support for
payment_linkonCheckout.Session
- Add support for new resource
7.110.0
New Not available yet- #1232 API Updates
- Add support for
paid_out_of_bandonInvoice
- Add support for
7.109.0
New Not available yet7.108.0
New Not available yet7.107.0
New Not available yet- #1219 API Updates
- Add support for
metadataonBillingPortal.Configuration - Add support for
walletsonIssuing.Card
- Add support for
7.106.0
New Not available yet7.105.0
Not available yet- #1213 PHP 8.1 missing ReturnTypeWillChange annotations.
- As of this version, PHP 8.1 is officially supported.
7.104.0
Not available yet7.103.0
New Not available yet- #1206 API Updates
- Add support for new value
jcton enumTaxRate.tax_type
- Add support for new value
7.102.0
New Not available yet- #1205 API Updates
- Add support for
automatic_payment_methodsonPaymentIntent
- Add support for
7.101.0
New Not available yet- #1203 API Updates
- Add support for new resource
ShippingRate - Add support for
shipping_optionsandshipping_rateonCheckout.Session - Add support for
expiremethod on resourceCheckout.Session - Add support for
statusonCheckout.Session
- Add support for new resource
7.100.0
New Not available yet- #1190 API Updates
- Add support for
klarnaonPaymentMethod.
- Add support for
7.99.0
New Not available yet- #1188 API Updates
- Add support for
list_payment_methodsmethod on resourceCustomer
- Add support for
7.98.0
New Not available yet- #1187 API Updates
- Add support for
phone_number_collectiononCheckout.Session - Add support for new value
customer_idon enumRadar.ValueList.item_type - Add support for new value
bbpos_wisepos_eon enumTerminal.Reader.device_type
- Add support for
7.97.0
New Not available yet- #1181 API Updates
- Add support for
full_name_aliasesonPerson
- Add support for
7.96.0
New Not available yet- #1178 API Updates
- Add support for livemode on Reporting.ReportType
- Add support for new value
rston enumTaxRate.tax_type
7.95.0
New Not available yet- #1177 API Updates
- Add support for
future_requirementsonAccount,Capability, andPerson - Add support for
after_expiration,consent,consent_collection,expires_at, andrecovered_fromonCheckout.Session
- Add support for
7.94.0
New Not available yet- #1173 API Updates
- Add support for new value
filon enumCheckout.Session.locale - Add support for new value
au_arnon enumTaxId.type
- Add support for new value
7.93.0
New Not available yet7.92.0
New Not available yet- #1167 API Updates
- Add support for
account_typeonBankAccount - Add support for new value
redactedon enumReview.closed_reason
- Add support for
7.91.0
New Not available yet- #1164 API Updates
- Add support for new values
hr,ko, andvion enumCheckout.Session.locale - Add support for
payment_settingsonSubscription
- Add support for new values
7.90.0
New Not available yet7.89.0
New Not available yet7.88.0
New Not available yet- #1152 API Updates
- Add support for new resource
Quote - Add support for
quoteonInvoice - Add support for new value
quote_accepton enumInvoice.billing_reason
- Add support for new resource
- #1155 Add streaming methods to Service infra
- Add support for
setStreamingHttpClientandstreamingHttpClienttoApiRequestor - Add support for
getStreamingClientandrequestStreamtoAbstractService - Add support for
requestStreamtoBaseStripeClient \Stripe\RequestOptions::parsenow clones its input if it is already aRequestOptionsobject, to prevent accidental mutation.
- Add support for
- #1151 Add
modeconstants into Checkout\Session
7.87.0
New Not available yet7.86.0
New Not available yet- #1145 API Updates
- Add support for
boletoonPaymentMethod. - Add support for
il_vatas a member of theTaxID.Typeenum.
- Add support for
7.85.0
New Not available yet- #1142 API Updates
- Add support for new TaxId types:
ca_pst_mb,ca_pst_bc,ca_gst_hst, andca_pst_sk.
- Add support for new TaxId types:
7.84.0
New Not available yet- #1141 Update PHPDocs
- Add support for
urlonCheckout\Session
- Add support for
7.83.0
New Improved Not available yet- #1140 API Updates
- Added support for
tax_id_collectiononCheckout\SessionandCheckout\Session#create - Update
Locationto be expandable onTerminal\Reader
- Added support for
7.82.0
New Not available yet- #1136 Update PHPDocs
- Add support for
controlleronAccount.
- Add support for
7.81.0
New Not available yet- #1135 API Updates
- Add support for new resource
TaxCode - Add support for
automatic_taxInvoiceandCheckout.Session. - Add support for
tax_behavioronPrice - Add support for
tax_codeonProduct - Add support for
taxonCustomer - Add support for
tax_typeenum onTaxRate
- Add support for new resource
7.80.0
Not available yet- #1130 Update PHPDocs
7.79.0
New Not available yet- #1126 API Updates
- Added support for new resource
Identity.VerificationReport - Added support for new resource
Identity.VerificationSession File#list.purposeandFile.purposeadded new enum members:identity_document_downloadableandselfie.
- Added support for new resource
7.78.0
New Not available yet- #1120 Update PHPDocs
- Add support for
Radar.EarlyFraudWarning.payment_intent
- Add support for
7.77.0
New Not available yet7.76.0
New Not available yet7.75.0
Not available yet- #1094 Add support for Billing Portal Configuration API
7.74.0
New Not available yet- #1093 Update PHPDocs
- Add support for on_behalf_of to Invoice
7.73.0
New Not available yet- #1091 Update PHPDocs
- Add support for
afterpay_clearpayonPaymentMethod.
- Add support for
7.72.0
New Not available yet- #1089 Update PHPDocs
- Add support for
afterpay_clearpay_paymentsonAccount.capabilities - Add support for
payment_settingsonInvoice
- Add support for
7.71.0
Not available yet7.70.0
New Not available yet- #1085 Update PHPDocs
- Add support for
nationalityonPerson - Add member
gb_vatofTaxIDenum
- Add support for
7.69.0
Not available yet- #1079 Update PHPDocs
7.68.0
Not available yet7.67.0
Not available yet7.66.1
Not available yet- #1054 Improve error message for invalid keys in StripeClient
7.66.0
Not available yet- #1053 Update PHPDocs
7.65.0
Not available yet- #1050 Added constants for
proration_behavioronSubscription
7.64.0
Not available yet- #1049 Update PHPDocs
7.63.0
Not available yet7.62.0
Not available yet7.61.0
Not available yet- #1030 Add support for
jp_rnandru_kppas atypeonTaxId
7.60.0
Not available yet- #1027 Warn if opts are in params
7.58.0
Not available yet- #1026 Add support for the Payout Reverse API
7.57.0
Not available yet- #1020 Add support for the
SetupAttemptresource and List API
7.56.0
Not available yet- #1019 Update PHPDocs
7.55.0
New Improved Not available yet- #1018 Multiple API changes
- Updated PHPDocs
- Added
TYPE_CONTRIBUTIONas a constant onBalanceTransaction
7.54.0
Not available yet- #1017 Updated PHPDoc
7.53.1
Not available yet- #1015 Bugfix: don't error on systems with php_uname in disablefunctions with whitespace
7.53.0
Not available yet- #1016 Updated PHPDocs
7.52.0
Not available yet- #1010 Update PHPDocs
7.51.0
New Not available yet7.50.0
Not available yet- #1005 Updated PHPDocs
7.49.0
Not available yet- #998 PHPDocs updated
7.48.0
Not available yet7.47.0
Not available yet7.46.1
Not available yet- #990 PHPdoc changes
7.46.0
Not available yet- #989 Add support for the
PromotionCoderesource and APIs
7.45.0
Not available yet- #981 PHPdoc updates
7.44.0
Not available yet- #948 Add
first()andlast()functions toCollection
7.43.0
Not available yet- #975 Add support for
political_exposureonPerson
7.42.0
Not available yet- #974 Add new constants for
purposeonFile
7.41.1
Not available yet- #973 Multiple PHPDoc fixes
7.41.0
Not available yet- #971 Adds enum values for
billing_address_collectionon CheckoutSession
7.40.0
Not available yet- #964 Add OAuthService
7.39.0
Not available yet- #960 Add constants for
payment_behavioronSubscription
7.38.0
Not available yet- #959 Add multiple constants missing for
Event
7.37.2
Not available yet- #957 Updated PHPDocs
7.37.1
Not available yet- #952 Improve PHPDoc
7.37.0
Not available yet- #950 Add support for
id_npwpandmy_frpastypeonTaxId
7.36.2
Not available yet- #946 Update PHPDoc
7.36.1
Not available yet7.36.0
Not available yet- #937 Add support for
ae_trn,cl_tinandsa_vatastypeonTaxId
7.35.0
Not available yet- #936 Add
anticipation_repaymentas atypeonBalanceTransaction
7.34.0
Not available yet- #934 Add support for
issuing_disputeas atypeonBalanceTransaction
7.33.1
Not available yet- #933 Services bugfix: convert nested null params to empty strings
7.33.0
Not available yet- #771 Introduce client/services API. The migration guide contains before & after examples of the backwards-compatible changes.
7.32.1
Not available yet- #932 Fix multiple PHPDoc
7.32.0
Not available yet- #931 Add support for the
LineItemresource and APIs
7.31.0
Not available yet- #927 Add support for new tax IDs
7.30.0
Not available yet- #924 Add support for the
Priceresource and APIs
7.29.0
Not available yet- #920 Add support for the
Sessionresource and APIs on theBillingPortalnamespace
7.28.1
Not available yet- #915 Improve PHPdocs for many classes
7.28.0
Not available yet7.27.3
Not available yet- #899 Convert keys to strings in
StripeObject::toArray()
7.27.2
Not available yet- #894 Multiple PHPDocs changes
7.27.1
Not available yet- #890 Update PHPdoc
7.27.0
Not available yet- #889 Add new constants for
typeonTaxId
7.26.0
Not available yet7.25.0
Not available yet7.24.0
Not available yet7.23.0
Not available yet7.22.0
Not available yet7.21.1
Not available yet- #840 Update phpdocs across multiple resources.
7.21.0
Not available yet- #839 Add support for
TYPE_ES_CIFonTaxId
7.20.0
Not available yet- #836 Add new type values for
TaxId
7.19.1
Not available yet- #831 Fix incorrect
UnexpectedValueExceptioninstantiation
7.19.0
Not available yet- #830 Add support for
CreditNoteLineItem
7.18.0
Not available yet- #829 Don't call php_uname function if disabled by php.ini
7.17.0
Not available yet- #821 Improve PHPDoc types for
ApiErrorException.get/setJsonBody()methods
7.16.0
Not available yet7.15.0
Not available yet- #824 Add constant
TYPE_SG_UENtoTaxId
7.14.2
Not available yet- #816 Disable autoloader when checking for
Throwable
7.14.1
Not available yet- #812 Fix invalid PHPdoc on
Subscription
7.14.0
Not available yet- #811 Add support for
CreditNotepreview.
7.13.0
Not available yet- #808 Add support for listing lines on an Invoice directly via
Invoice::allLines()
7.12.0
Not available yet7.11.0
Not available yet- #797 Add support for reverse pagination
7.10.0
Not available yet- #795 Add support for
Mandate
7.9.0
Not available yet7.8.0
Not available yet7.7.1
Not available yet7.7.0
Not available yet7.6.0
Not available yet- #770 Add missing constants for Customer's
TaxId
7.5.0
Not available yet- #768 Redact API key in
RequestOptionsdebug info
7.4.0
Not available yet- #764 Add support for HTTP request monitoring callback
7.3.1
Not available yet- #755 Respect Stripe-Should-Retry and Retry-After headers
7.3.0
Not available yet7.2.2
Not available yet- #746 Add missing decline codes
7.2.1
Not available yet- #744 Added new PHPDoc
7.2.0
Not available yet- #738 Added missing constants for
SetupIntentevents
7.1.1
Not available yet- #737 Added new PHPDoc
7.1.0
Not available yet- #736 Make
CaseInsensitiveArraycountable and traversable
7.0.2
Not available yet- #729 Fix usage of
SignatureVerificationExceptionin PHPDoc blocks
7.0.1
Not available yet- #728 Clean up Collection
7.0.0
New Improved Fixed Removed Not available yetMajor version release. The migration guide contains a detailed list of backwards-incompatible changes with upgrade instructions.
Pull requests included in this release (cf. #552) (⚠️ = breaking changes):
- ⚠️ Drop support for PHP 5.4 (#551)
- ⚠️ Drop support for PHP 5.5 (#554)
- Bump dependencies (#553)
- Remove
CURLFilecheck (#555) - Update constant definitions for PHP >= 5.6 (#556)
- ⚠️ Remove
FileUploadalias (#557) - Remove
curl_resetcheck (#570) - Use
\Stripe\<class>::classconstant instead of strings (#643) - Use
array_columnto flatten params (#686) - ⚠️ Remove deprecated methods (#692)
- ⚠️ Remove
IssuerFraudRecord(#696) - Update constructors of Stripe exception classes (#559)
- Fix remaining TODOs (#700)
- Use yield for autopagination (#703)
- ⚠️ Rename fake magic methods and rewrite array conversion (#704)
- Add
ErrorObjectto Stripe exceptions (#705) - Start using PHP CS Fixer (#706)
- Update error messages for nested resource operations (#708)
- Upgrade retry logic (#707)
- ⚠️
Collectionimprovements / fixes (#715) - ⚠️ Modernize exceptions (#709)
- Add constants for error codes (#716)
- Update certificate bundle (#717)
- Retry requests on a 429 that's a lock timeout (#718)
- Fix
toArray()calls (#719) - Couple of fixes for PHP 7.4 (#725)
6.43.1
Not available yet6.43.0
Not available yet- #694 Add
SubscriptionItem::createUsageRecordmethod
6.42.0
Not available yet- #688 Remove
SubscriptionScheduleRevision- Note that this is technically a breaking change, however we've chosen to release it as a minor version in light of the fact that this resource and its API methods were virtually unused.
6.41.0
Not available yet- #683 Move the List Balance History API to
/v1/balance_transactions
6.40.0
Not available yet- #675 Add support for
SetupIntentresource and APIs
6.39.2
Not available yet- #676 Fix exception message in
CustomerBalanceTransaction::update()
6.39.1
Not available yet- #674 Add new constants for
collection_methodonInvoice
6.39.0
Not available yet- #673 Enable request latency telemetry by default
6.38.0
Not available yet- #649 Add support for
CustomerBalanceTransactionresource and APIs
6.37.2
Not available yet6.37.1
Not available yet- #670 Add new PHPDoc
6.37.0
Not available yet- #663 Add support for
radar.early_fraud_warningresource
6.36.0
Not available yet6.35.2
Not available yet6.35.1
Not available yet- #658 Use absolute value when checking timestamp tolerance
6.35.0
Not available yet- #651 Add support for the Capability resource and APIs
6.34.6
Not available yet- #654 Fix typo in definition of
Event::PAYMENT_METHOD_ATTACHEDconstant
6.34.5
Not available yet- #647 Set the return type to static for more operations
6.34.4
Not available yet- #650 Add missing constants for Event types
6.34.3
Not available yet6.34.2
Not available yet- #642 Fix an issue where existing idempotency keys would be overwritten when using automatic retries
6.34.1
Not available yet- #640 Add missing phpdocs
6.34.0
Not available yet6.33.0
Not available yet- #630 Add support for the
TaxIdresource and APIs
6.32.1
Not available yet- #636 Correct type of
$personIdin PHPDoc
6.32.0
Not available yet- #621 Add support for
CreditNote
6.31.5
Not available yet6.31.4
Not available yet- #624 Fix encoding of nested parameters in multipart requests
6.31.3
Not available yet- #623 Only use HTTP/2 with curl >= 7.60.0
6.31.2
Not available yet- #619 Fix PHPDoc return types for list methods for nested resources
6.31.1
Not available yet6.31.0
Not available yet6.30.5
Not available yet- #607 Correctly handle case where a metadata key is called
metadata
6.30.4
Not available yet- #602 Add
subscription_scheduletoSubscriptionfor PHPDoc.
6.30.3
Not available yet- #603 Improve PHPDoc on the
Sourceobject to cover all types of Sources currently supported.
6.30.2
Not available yet- #601 Fix PHPDoc across multiple resources and add support for new events.
6.30.1
Not available yet- #599 Fix PHPDoc for
SubscriptionScheduleandSubscriptionScheduleRevision
6.30.0
Not available yet- #590 Add support for
SubscriptionScheduleandSubscriptionScheduleRevision
6.29.3
Not available yet- #592 Some more PHPDoc fixes
6.29.2
Not available yet- #591 Fix PHPDoc for nested resources
6.29.1
Not available yet6.29.0
Not available yet- #579 Rename
CheckoutSessiontoSessionand move it under theCheckoutnamespace. This is a breaking change, but we've reached out to affected merchants and all new merchants would use the new approach.
6.28.1
Not available yet- #580 Properly serialize
individualonAccountobjects
6.28.0
Not available yet- #576 Add support for iterating directly over
Collectioninstances
6.27.0
Not available yet- #571 Add support for the
CheckoutSessionresource
6.26.0
Not available yet- #568 Enable persistent connections
6.25.0
Not available yet- #567 Add support for account links
6.24.0
Not available yet6.23.0
Not available yet- #542 Add support for
ValueListandValueListItemfor Radar
6.22.1
Not available yet- #561 Add cast and some docs to telemetry introduced in 6.22.0/549
6.22.0
Not available yet- #549 Add support for client telemetry
6.21.1
Not available yet- #548 Don't mutate
Exceptionclass properties fromOAuthBaseerror
6.21.0
Not available yet- #537 Add new API endpoints for the
Invoiceresource.
6.20.1
Not available yet- #546 Drop files from the Composer package that aren't needed in the release
6.20.0
Not available yet6.19.5
Not available yet- #539 Fix methods on
\Stripe\PaymentIntentto properly pass arguments to the API.
6.19.4
Not available yet- #534 Fix PSR-4 autoloading for
\Stripe\FileUploadclass alias
6.19.3
Not available yet- #530 Add constants for
flow(FLOW_*),status(STATUS_*) andusage(USAGE_*) on\Stripe\Source
6.19.2
Not available yet- #531 Store HTTP response headers in case-insensitive array
6.19.1
Not available yet- #526 Ignore null values in request parameters
6.19.0
Not available yet- #523 Add support for Stripe Terminal
6.18.0
Not available yet- #520 Rename
\Stripe\FileUploadto\Stripe\File
6.17.2
Not available yet- #522 Fix warning when adding a new additional owner to an existing array
6.17.1
Not available yet- #517 Integer-index encode all sequential arrays
6.17.0
Not available yet- #514 Add support for reporting resources
6.16.0
Not available yet- #509 Add support for usage record summaries
6.15.0
Not available yet- #504 Add cancel support for topups
6.14.0
Not available yet- #505 Add support for file links
6.13.0
Not available yet- #502 Add
isDeleted()method to\Stripe\StripeObject
6.12.0
Not available yet- #501 Add support for scheduled query runs (
\Stripe\Sigma\ScheduledQueryRun) for Sigma
6.11.0
Not available yet- #500 Add support for Stripe Issuing
6.10.4
Not available yet- #498 Internal improvements to the
\Stripe\ApiResource.classUrl()method
6.10.3
Not available yet- #497 Use HTTP/2 only for HTTPS requests
6.10.2
Not available yet- #494 Enable HTTP/2 support
6.10.1
Not available yet- #493 Add PHPDoc for
auto_advanceon\Stripe\Invoice
6.10.0
Not available yet- #488 Add support for
$appPartnerIdtoStripe::setAppInfo()
6.9.0
Not available yet- #487 Add support for payment intents
6.8.2
Not available yet- #486 Make
Account.deauthorize()return theStripeObjectfrom the API
6.8.1
Not available yet- #472 Added phpDoc for
ApiRequestorand others, especially regarding thrown errors
6.8.0
Not available yet- #481 Add new
\Stripe\Discountand\Stripe\OrderItemclasses, add more PHPDoc describing object attributes
6.7.4
Not available yet- #480 PHPDoc changes for API version 2018-05-21 and the addition of the new
CHARGE_EXPIREDevent type
6.7.3
Not available yet- #479 Fix unnecessary traits on
\Stripe\InvoiceLineItem
6.7.2
Not available yet- #471 Add
OBJECT_NAMEconstant to all API resource classes, add\Stripe\InvoiceLineItemclass
6.7.1
Not available yet- #468 Update fields in PHP docs for accuracy
6.7.0
Not available yet- #466 Add support for issuer fraud records
6.6.0
Not available yet- #460 Add support for flexible billing primitives
6.5.0
Not available yet- #461 Don't zero keys on non-
metadatasubobjects
6.4.2
Not available yet- #458 Add PHPDoc for
accounton\Stripe\Event
6.4.1
Not available yet6.4.0
Not available yet- #453 Add constants for
reason(REASON_*) andstatus(STATUS_*) on\Stripe\Dispute
6.3.2
Not available yet- #452 Add PHPDoc for
amount_paidandamount_remainingon\Stripe\Invoice
6.3.1
Not available yet- #443 Add event types as constants to
\Stripe\Eventclass
6.3.0
Not available yet- #450 Add support for
codeattribute on all Stripe exceptions
6.2.0
Not available yet6.1.0
Not available yet6.0.0
Not available yetMajor version release. List of backwards incompatible changes to watch out for:
- The minimum PHP version is now 5.4.0. If you're using PHP 5.3 or older, consider upgrading to a more recent version.
\Stripe\AttachedObjectno longer exists. Attributes that used to be instances of\Stripe\AttachedObject(such asmetadata) are now instances of\Stripe\StripeObject.
- Attributes that used to be PHP arrays (such as
legal_entity->additional_ownerson\Stripe\Accountinstances) are now instances of\Stripe\StripeObject, except when they are empty.\Stripe\StripeObjecthas array semantics so this should not be an issue unless you are actively checking types.
\Stripe\Collectionnow derives from\Stripe\StripeObjectrather than from\Stripe\ApiResource.
Pull requests included in this release:
- #410 Drop support for PHP 5.3
- #411 Use traits for common API operations
- #414 Use short array syntax
- #404 Fix serialization logic
- #417 Remove
ExternalAccountclass - #418 Increase test coverage
- #421 Update CA bundle and add script for future updates
- #422 Use vendored CA bundle for all requests
- #428 Support for automatic request retries
5.9.2
Not available yet- #431 Update PHPDoc @property tags for latest API version
5.9.1
Not available yet- #427 Add and update PHPDoc @property tags on all API resources
5.9.0
Not available yet5.8.0
Not available yet- #403 Add
__debugInfo()magic method toStripeObject
5.7.0
Not available yet5.6.0
Not available yet- #386 Support for exchange rates APIs
5.5.1
Not available yet- #387 Allow
personal_address_kanaandpersonal_address_kanjito be updated on an account
5.5.0
Not available yet- #385 Support for listing source transactions
5.4.0
Not available yet- #383 Add static methods to manipulate resources from parent
Accountgains methods for external accounts and login links (e.g.createExternalAccount,createLoginLink)ApplicationFeegains methods for refundsCustomergains methods for sourcesTransfergains methods for reversals
5.3.0
Not available yet- #378 Rename source
deletetodetach(and deprecate the former)
5.2.3
New Not available yet- Add PHPDoc for
Card
5.2.2
Fixed Not available yet- Fix deserialization mapping of
FileUploadobjects
5.2.1
Not available yet- Serialized
shippingnested attribute
5.2.0
New Not available yet- Add support for
InvalidClientOAuth error
5.1.3
Not available yet- Allow
address_kanaandaddress_kanjito be updated for custom accounts
5.1.2
Fixed Not available yet- Fix documented return type of
autoPagingIterator()(was missing namespace)
5.1.1
Fixed Not available yet- Fix order returns to use the right URL
/v1/order_returns
5.1.0
New Not available yet- Add support for OAuth
5.0.0
Not available yetpayon invoice now takes params as well as opts
4.13.0
New Not available yet- Add support for ephemeral keys
4.12.0
Not available yet- Clients can implement
getUserAgentInfo()to add additional user agent information
4.11.0
Not available yet- Implement
CountableforAttachedObject(metadataandadditional_owners)
4.10.0
New Not available yet- Add support for login links
4.9.1
Fixed Not available yet- Fix docs to include arrays on
$idparameter for retrieve methods
4.9.0
Not available yet- Support for checking webhook signatures
4.8.1
Not available yet- Allow nested field
payout_scheduleto be updated
4.8.0
New Not available yet- Add
\Stripe\Stripe::setLogger()to support an external PSR-3 compatible logger
4.7.0
New Not available yet- Add support for payouts and recipient transfers
4.6.0
Not available yet- Please see 4.7.0 instead (no-op release)
4.5.1
Removed Not available yet- Remove hard dependency on cURL
4.5.0
Not available yet- Support for detaching sources from customers
4.4.2
Not available yet- Correct handling of
ownerparameter when updating sources
4.4.1
Not available yet- Correct the error check on a bad JSON decoding
4.4.0
New Not available yet- Add support for updating sources
4.3.0
New Not available yet- Add support for verifying sources
4.2.0
New Not available yet- Add retrieve method for 3-D Secure resources
4.1.1
New Not available yet- Add docblock with model properties for
Plan
4.1.0
Not available yet- Support for 403 status codes (permission denied)
4.0.1
Fixed Not available yet- Fix transfer reversal materialization
- Fixes for some property definitions in docblocks
4.0.0
Removed Not available yet- Support for subscription items
- Drop attempt to force TLS 1.2: please note that this could be breaking if you're using old OS distributions or packages and upgraded recently (so please make sure to test your integration!)
3.23.0
New Not available yet- Add support for Apple Pay domains
3.22.0
New Not available yet- Add
Stripe::setAppInfoto allow plugins to register user agent information
3.21.0
New Not available yet- Add
Sourcemodel for generic payment sources
3.20.0
New Not available yet- Add
getDeclineCodeto card errors
3.19.0
Not available yet- Opt requests directly into TLS 1.2 where OpenSSL >= 1.0.1 (see #277 for context)
3.18.0
New Not available yet- Add new
STATUS_constants for subscriptions
3.17.1
Fixed Not available yet- Fix auto-paging iterator so that it plays nicely with
iterator_to_array
3.17.0
New Not available yet- Add field annotations to model classes for better editor hinting
3.16.0
New Not available yet- Add
ThreeDSecuremodel for 3-D secure payments
3.15.0
New Not available yet- Add static
updatemethod to all resources that can be changed.
3.14.3
Not available yet- Make sure that cURL never sends
Expects: 100-continue, even on large request bodies
3.14.2
New Not available yet- Add
inventoryunderSKUto list of keys that have nested data and can be updated
3.14.1
Fixed Not available yet- Fix some inconsistencies in PHPDoc
3.14.0
New Not available yet- Add support for returning Relay orders
3.13.0
New Not available yet- Add
list,create,update,retrieve, anddeletemethods to the Subscription class
3.12.1
Not available yet- Additional check on value arrays for some extra safety
3.12.0
Improved Fixed Not available yet- Fix bug
refreshFromonStripeObjectwould not take an$optsarray - Fix bug where
$optsnot passed to parentsavemethod inAccount - Fix bug where non-existent variable was referenced in
reverseinTransfer - Update CA cert bundle for compatibility with OpenSSL versions below 1.0.1
3.11.0
Not available yet- Allow
CurlClientto be initialized with defaultCURLOPT_*options
3.10.1
Fixed Not available yet- Fix bug where request params and options were ignored in
ApplicationFee'srefund.
3.10.0
New Not available yet- Add
rejectonAccountto support the new API feature
3.9.2
Fixed Not available yet- Fix error when an object's metadata is set more than once
3.9.1
Fixed Not available yet- Fix encoding behavior of nested arrays for requests (see #227)
3.9.0
New Not available yet- Add automatic pagination mechanism with
autoPagingIterator() - Allow global account ID to be set with
Stripe::setAccountId()
3.8.0
New Not available yet- Add
CountrySpecmodel for looking up country payment information
3.7.1
Improved Not available yet- Update bundled CA certs
3.7.0
Not available yet- Support deleting Relay products and SKUs
3.6.0
Not available yet- Allow configuration of HTTP client timeouts
3.5.0
New Not available yet- Add a verification routine for external accounts
3.4.0
Not available yet- Products, SKUs, and Orders -- https://stripe.com/relay
3.3.0
New Not available yet- Add support for 429 Rate Limit response
3.2.0
New Not available yet- Add refund listing and retrieval without an associated charge
3.1.0
New Not available yet- Add dispute listing and retrieval
- Add support for manage account deletion
3.0.0
New Not available yet- Rename
\Stripe\Objectto\Stripe\StripeObject(PHP 7 compatibility) - Rename
getCodeandgetParamin exceptions togetStripeCodeandgetStripeParam - Add support for calling
json_encodeon Stripe objects in PHP 5.4+ - Start supporting/testing PHP 7
2.3.0
New Not available yet- Add request ID to all Stripe exceptions
2.2.0
New Not available yet- Add support for Alipay accounts as sources
- Add support for bank accounts as sources (private beta)
- Add support for bank accounts and cards as external_accounts on Account objects
2.1.4
Fixed Not available yet- Fix CA certificate file path (thanks @lphilps & @matthewarkin)
2.1.3
Fixed Not available yet- Fix to account updating to permit
tos_acceptanceandpersonal_addressto be set properly - Fix to Transfer reversal creation (thanks @neatness!)
- Network requests are now done through a swappable class for easier mocking
2.1.2
Fixed Removed Not available yet- Remove SSL cert revokation checking (all pre-Heartbleed certs have expired)
- Bug fixes to account updating
2.1.1
Not available yet- Support transfer reversals
2.1.0
New Not available yet- Support new API version (2015-02-18)
- Added Bitcoin Receiever update and delete actions
- Edited tests to prefer "source" over "card" as per new API version
2.0.1
Fixed Not available yet- Fix to fetching endpoints that use a non-default baseUrl (
FileUpload)
2.0.0
New Not available yet- Bumped minimum version to 5.3.3
- Switched to Stripe namespace instead of Stripe_ class name prefiexes (thanks @chadicus!)
- Switched tests to PHPUnit (thanks @chadicus!)
- Switched style guide to PSR2 (thanks @chadicus!)
- Added $opts hash to the end of most methods: this permits passing 'idempotency_key', 'stripe_account', or 'stripe_version'. The last 2 will persist across multiple object loads.
- Added support for retrieving Account by ID
1.18.0
Not available yet- Support making bitcoin charges through BitcoinReceiver source object
1.17.5
Not available yet- Adding support for creating file uploads.
1.17.4
New Not available yet- Saving objects fetched with a custom key now works (thanks @JustinHook & @jpasilan)
- Added methods for reporting charges as safe or fraudulent and for specifying the reason for refunds
1.17.3
Improved Not available yet- Better handling of HHVM support for SSL certificate blacklist checking.
1.17.2
Not available yet- Coupons now are backed by a
Stripe_Couponinstead ofStripe_Object, and support updating metadata - Running operations (
create,retrieve,all) on upcoming invoice items now works
1.17.1
Not available yet- Requests now send Content-Type header
1.17.0
Not available yet- Application Fee refunds now a list instead of array
- HHVM now works
- Small bug fixes (thanks @bencromwell & @fastest963)
__toStringnow returns the name of the object in addition to its JSON representation
1.16.0
New Not available yet- Add metadata for refunds and disputes
1.15.0
Not available yet- Support canceling transfers
1.14.1
Not available yet- Support cards for recipients.
1.13.1
Fixed Not available yet- Fix bug in account resource where
idwasn't in the result
1.13.0
New Improved Removed Not available yet- Add support for certificate blacklisting
- Update ca bundle
- Drop support for HHVM (Temporarily)
1.12.0
New Improved Not available yet- Add Stripe_RateLimitError for catching rate limit errors.
- Update to Zend coding style (thanks, @jpiasetz)
1.11.0
New Not available yet- Add support for multiple subscriptions per customer
1.10.1
New Not available yet- Add new ApplicationFee
1.9.1
Fixed Not available yet- Fix a bug where a null nestable object causes warnings to fire.
1.9.0
New Not available yet- Add support for metadata API.
1.8.4
New Not available yet- Add support for closing disputes.
1.8.3
New Not available yet- Add new Balance and BalanceTransaction
1.8.2
New Not available yet- Add support for unsetting attributes by updating to NULL. Setting properties to a blank string is now an error.
1.8.1
New Not available yet- Add support for multiple cards API (Stripe API version 2013-07-12: https://stripe.com/docs/upgrades#2013-07-05)
1.8.0
New Not available yet- Allow Transfers to be creatable
- Add new Recipient resource
1.7.15
New Not available yet- Add 'id' to the list of permanent object attributes
1.7.14
Not available yet- Don't re-encode strings that are already encoded in UTF-8. If you were previously using plan or coupon objects with UTF-8 IDs, they may have been treated as ISO-8859-1 (Latin-1) and encoded to UTF-8 a 2nd time. You may now need to pass the IDs to utf8_encode before passing them to Stripe_Plan::retrieve or Stripe_Coupon::retrieve.
- Ensure that all input is encoded in UTF-8 before submitting it to Stripe's servers. (github issue #27)
1.7.13
New Not available yet- Add support for passing options when retrieving Stripe objects e.g., Stripe_Charge::retrieve(array("id"=>"foo", "expand" => array("customer"))); Stripe_Charge::retrieve("foo") will continue to work
1.7.12
New Not available yet- Add support for setting a Stripe API version override
1.7.11
Not available yet- Version bump to cleanup constants and such (fix issue #26)
1.7.10
New Fixed Not available yet- Add support for updating charge disputes.
- Fix bug preventing retrieval of null attributes
1.7.9
Fixed Not available yet- Fix usage under autoloaders such as the one generated by composer (fix issue #22)
1.7.8
New Not available yet- Add support for creating invoices.
- Add support for new invoice lines return format
- Add support for new list objects
1.7.7
Not available yet- Get all of the various version numbers in the repo in sync (no other changes)
1.7.6
New Not available yet- Add update and pay methods to Invoice resource
1.7.5
Improved Not available yet- Change internal function names so that Stripe_SingletonApiRequest is E_STRICT-clean (github issue #16)
1.7.4
Fixed Not available yet- Bugfix so that Stripe objects (e.g. Customer, Charge objects) used in API calls are transparently converted to their object IDs
1.7.3
New Not available yet- Add new Account resource
1.7.2
Not available yet- Make clearer that you should be including lib/Stripe.php, not test/Stripe.php (github issue #14)
1.7.1
New Not available yet- Add missing argument to Stripe_InvalidRequestError constructor in Stripe_ApiResource::instanceUrl. Fixes a warning when Stripe_ApiResource::instanceUrl is called on a resource with no ID (fix issue #12)
1.7.0
New Not available yet- Support Composer and Packagist (github issue #9)
- Add new deleteDiscount method to Stripe_Customer
- Add new Transfer resource
- Switch from using HTTP Basic auth to Bearer auth. (Note: Stripe will support Basic auth for the indefinite future, but recommends Bearer auth when possible going forward)
- Numerous test suite improvements