Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
sawyer-stripe committed Sep 10, 2024
1 parent a3059c5 commit d54894c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/types/src/valid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,16 @@ const paymentMethodMessagingElement = elements.create(
}
);

elements.create(
'paymentMethodMessaging',
{
amount: 2000,
countryCode: 'US',
currency: 'USD',
paymentMethodTypes: ['afterpay_clearpay', 'klarna', 'affirm'],
}
);

const paymentElement: StripePaymentElement = elements.create('payment', {
defaultValues: {
billingDetails: {
Expand Down

0 comments on commit d54894c

Please sign in to comment.