Skip to content

Commit

Permalink
Rename paypal to braintree
Browse files Browse the repository at this point in the history
  • Loading branch information
pozylon committed Jun 10, 2020
1 parent b88864c commit d4a9dd9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import {

const { BRAINTREE_SANDBOX_TOKEN, BRAINTREE_PRIVATE_KEY } = process.env;

class Paypal extends PaymentAdapter {
static key = 'com.paypal';
class BraintreeDirect extends PaymentAdapter {
static key = 'shop.unchained.braintree-direct';

static label = 'Paypal (Braintree)';
static label = 'Braintree Direct';

static version = '1.0';

Expand Down Expand Up @@ -135,4 +135,4 @@ class Paypal extends PaymentAdapter {
}
}

PaymentDirector.registerAdapter(Paypal);
PaymentDirector.registerAdapter(BraintreeDirect);

0 comments on commit d4a9dd9

Please sign in to comment.