diff options
author | Mateja <mail@matejamaric.com> | 2021-07-16 02:20:32 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-07-16 02:20:32 +0200 |
commit | 3f05bd208cba2d57446ad95d8383be2ed1089c87 (patch) | |
tree | 3da912888bcf146a77192bc5effc59a465b6535e /server/config | |
parent | 40358139a8ad1cba015c109dde915d6d8955fd99 (diff) | |
download | mevn-ecommerce-3f05bd208cba2d57446ad95d8383be2ed1089c87.tar.gz mevn-ecommerce-3f05bd208cba2d57446ad95d8383be2ed1089c87.zip |
Setup and capture test transactions.
Diffstat (limited to 'server/config')
-rw-r--r-- | server/config/paypal.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/server/config/paypal.js b/server/config/paypal.js index da6c2c3..3b45015 100644 --- a/server/config/paypal.js +++ b/server/config/paypal.js @@ -8,8 +8,4 @@ function environment() { return new paypal.core.SandboxEnvironment(paypalClientId, paypalClientSecret); } -function client() { - return new paypal.core.PayPalHttpClient(environment()); -} - -module.exports = client; +module.exports = new paypal.core.PayPalHttpClient(environment()); |