Skip to content

Commit

Permalink
Merge pull request #117 from recurly/bugfix/paypal-key
Browse files Browse the repository at this point in the history
Ensures publicKey is sent to the PayPal flow initiation API
  • Loading branch information
gjohnson committed Jun 3, 2014
2 parents a07c941 + 32554b7 commit c59123e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/recurly.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ Recurly.prototype.open = function open (url, data, done) {
data = data || {};
data.version = this.version;
data.event = 'recurly-open-' + this.id++;
data.key = this.config.publicKey;
this.once(data.event, done);

if (!/^https?:\/\//.test(url)) url = this.url(url);
Expand Down

0 comments on commit c59123e

Please sign in to comment.