meteor add lampe:paypal
Paypal.setConfig({
'host': 'api.sandbox.paypal.com',
'port': '',
'client_id': 'XXX',
'client_secret': 'ZZZ'
});
Meteor.call("PayPalPaymentDetails", payId);
Meteor.call("PayPalPaymentList");
Meteor.call("payPalCreatePayPalPayment", payment);
Meteor.call("payPalExecutePayment", payId, payerId);