Skip to content

Commit aeef309

Browse files
hamzanasirkand
authored andcommitted
Merge pull request #702 from paypal/feature/use-venmo-one-time-hook
feat: Use Venmo One Time Payment Session Hook
2 parents e433f21 + 3012443 commit aeef309

File tree

6 files changed

+662
-2
lines changed

6 files changed

+662
-2
lines changed

packages/paypal-js/types/v6/components/venmo-payments.d.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
import {
22
BasePaymentSessionOptions,
33
BasePaymentSession,
4-
OnApproveDataOneTimePayments,
54
PresentationModeOptionsForPopup,
65
PresentationModeOptionsForModal,
76
PresentationModeOptionsForAuto,
87
} from "./base-component";
98

109
export type VenmoOneTimePaymentSessionOptions = BasePaymentSessionOptions & {
1110
orderId?: string;
12-
onApprove: (data: OnApproveDataOneTimePayments) => Promise<void>;
1311
};
1412

1513
export type VenmoPresentationModeOptions =

0 commit comments

Comments
 (0)