Skip to content

Commit

Permalink
Register card and paypal methods
Browse files Browse the repository at this point in the history
  • Loading branch information
sirbrillig committed Oct 14, 2019
1 parent 431d292 commit 25e6a7e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/wp-checkout/src/lib/payment-methods/registered-methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,20 @@ export default function loadPaymentMethods() {
billingContactForm: null,
submit: () => {},
} );

registerPaymentMethod( {
id: 'card',
button: 'Credit Card',
form: null,
billingContactForm: null,
submit: () => {},
} );

registerPaymentMethod( {
id: 'paypal',
button: 'Paypal',
form: null,
billingContactForm: null,
submit: () => {},
} );
}

0 comments on commit 25e6a7e

Please sign in to comment.