jockster / paypal-recurring

node.js package that makes recurring payments with PayPal easier to manage
MIT License
38 stars 15 forks source link

Calling authenticate returns 'success' by default #4

Closed rajatgupta431 closed 10 years ago

rajatgupta431 commented 10 years ago

Hi , I tried out the api and as soon as the authenticate method is called and the user is redirected to the paypal website, without waiting for the user to fill out the credentials, I get 'Success' in the data variable here : paypal.authenticate({ RETURNURL: "https://localhost/purchase/success", CANCELURL: "https://localhost/purchase/fail", PAYMENTREQUEST_0_AMT: 10, L_BILLINGAGREEMENTDESCRIPTION0: "A description of this subscription" }, function(err, data, url) { // Redirect the user if everything went well with // a HTTP 302 according to PayPal's guidelines if (!err) { res.redirect(302, url); } });

Am I doing something wrong ?