Generate stripe-php with breaking changes #1334
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog
Added
alternate_statement_descriptors
,authorization_code
, andlevel3
properties toCharge
resource.previewLines
method toCreditNote
resource.params
parameter toclose
method inDispute
resource.opts
parameter was used:transfer_data
property toSubscription
resource.SOURCE_TYPE_FPX
constant toTransfer
resource.Changed
source
property onCharge
resource to no longer accept an instance ofAlipayAccount
orBitcoinReceiver
.default_source
property onCustomer
resource to no longer accept an instance ofAlipayAccount
orBitcoinReceiver
.allSources
,createSource
,deleteSource
,retrieveSource
, andupdateSource
methods onCustomer
resource andCustomerService
service. They no longer return an instance ofAlipayAccount
orBitcoinReceiver
.default_source
property onInvoice
resource to no longer accept an instance ofAlipayAccount
orBitcoinReceiver
.source
property onPaymentIntent
resource to no longer accept an instance ofAlipayAccount
orBitcoinReceiver
.default_source
property onSubscription
resource to no longer accept an instance ofAlipayAccount
orBitcoinReceiver
.Fixed
allLineItems
method inSessionService
.Removed
Remove deprecated
AlipayAccount
,BitcoinReceiver
,BitcoinTransaction
,Recipient
,RecipientTransfer
, andThreeDSecure
resources.Remove
CAPABILITY_CARD_PAYMENTS
,CAPABILITY_LEGACY_PAYMENTS
,CAPABILITY_PLATFORM_PAYMENTS
,CAPABILITY_TRANSFERS
,CAPABILITY_STATUS_ACTIVE
,CAPABILITY_STATUS_INACTIVE
, andCAPABILITY_STATUS_PENDING
constants fromAccount
resource. Please use up-to-date values from https://stripe.com/docs/connect/account-capabilities.Remove
persons
method fromAccount
resource. Please useallPersons
method instead.Remove
AssociatedObjects
array property fromEphemeralKey
resource. The field was undocumented and unsupported.Remove
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
webhook event constants. The events are deprecated and no longer trigger by Stripe.Remove
details
method fromCard
resource. The endpoint was deprecated and no longer exists.Remove
recipient
property fromCard
resource. The property was deprecated.Remove
sources
property fromCard
resource. The property was deprecated.Remove
FAILURE_REASON
constant fromCustomer
resource. The value was deprecated.Remove
Recipient
resource. The resource was deprecated.Remove
allTransactions
method fromSourceService
service. Please useallSourceTransactions
method instead.Remove
sourceTransactions
method fromSource
resource. Please useallSourceTransactions
method instead.Remove
usageRecordSummaries
method fromSubscriptionItem
resource. Please useallUsageRecordSummaries
method instead.Remove
SOURCE_TYPE_ALIPAY_ACCOUNT
andSOURCE_TYPE_FINANCING
constants fromTransfer
resource. The values were deprecated and are no longer in use.