braintree-web
Advanced tools
Changelog
3.0.0-beta.7
inputSubmitRequest
event which is called when the user
presses the Enter key (or equivalent) in a Hosted Fields input.BREAKING CHANGES
fieldStateChange
event is now 4 events: empty
,
notEmpty
, validityChange
, and cardTypeChange
client
option is now requiredChangelog
3.0.0-beta.6
postalCode
field now has a maximum length of 10 charactersteardown
to cleanly destroy a UnionPay instancebillingAgreementDescription
BREAKING CHANGES
fetchCapabilities
now takes card: {number: '4111'}
instead
of cardNumber: '4111'
enroll
now takes mobile phone data under the mobile
property
instead of the card
propertyenroll
now returns a property called enrollmentId
instead of
unionpayEnrollmentId
options.options
property from tokenize
;
smsCode
and enrollmentId
are now top-level optionsChangelog
3.0.0-beta.5
tokenize
or setPlaceholder
) after
Hosted Fields has been torn down throws an errortokenize
) after PayPal has been torn
down throws an errorgetRewardsBalance
to get the rewards balance of a Braintree
noncegetExpressCheckoutProfile
to get the Express Checkout profile
of an Amex noncefetchCapabilities
to fetch card capabilities, and determine if
a card requires enrollmentenroll
to process enrollment for a cardtokenize
UnionPay cardsChangelog
3.0.0-beta.4
client
components no longer have a teardown
functionsetPlaceholder
to allow dynamic updating of field
placeholdersBraintreeError
if tokenize does not include a callbackBraintreeError
if tokenize does not include a callback