Skip to content

Add onBehalfOf type to PaymentRequest#592

Merged
awalker-stripe merged 2 commits intomasterfrom
awalker/pr-obo
Apr 5, 2024
Merged

Add onBehalfOf type to PaymentRequest#592
awalker-stripe merged 2 commits intomasterfrom
awalker/pr-obo

Conversation

@awalker-stripe
Copy link
Copy Markdown
Contributor

Summary & motivation

Adds onBehalfOf as a valid parameter for PaymentRequests

Testing & documentation

Unit test


const paymentRequestOBO: PaymentRequest = stripe.paymentRequest({
country: 'US',
currency: 'usd',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also add a test in invalid.ts that checks that you cannot update onBehalfOf?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants