Skip to content

Commit

Permalink
Enable Funding option for Paypal SDK (#1537)
Browse files Browse the repository at this point in the history
  • Loading branch information
ribeiroguilherme authored Mar 21, 2022
1 parent 75ca18b commit cbeab6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/lib/src/components/PayPal/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export interface PaypalSettings {
vault?: boolean;
'client-id': string;
'integration-date': string;
'enable-funding': string;
components: string;
}

Expand Down
1 change: 1 addition & 0 deletions packages/lib/src/components/PayPal/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const getPaypalSettings = ({
vault,
'client-id': clientId,
'integration-date': INTEGRATION_DATE,
'enable-funding': 'paylater',
components: 'buttons,funding-eligibility'
};
};
Expand Down

0 comments on commit cbeab6c

Please sign in to comment.