Skip to content

Commit

Permalink
Merge pull request #18 from enhancv/country-code
Browse files Browse the repository at this point in the history
Add countryCode to PayPal payment method and transactions
  • Loading branch information
ginovski authored Jul 18, 2018
2 parents 343aab7 + 9e13eed commit cd1f760
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mongoose-subscriptions",
"version": "2.5.5",
"version": "2.5.6",
"description": "Processor agnostic payment subscription backend",
"main": "src/index.js",
"repository": "git@github.com:enhancv/mongoose-subscriptions.git",
Expand Down
1 change: 1 addition & 0 deletions src/Schema/PaymentMethod/PayPalAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const PayPalAccount = new Schema(
email: String,
name: String,
payerId: String,
countryCode: String,
},
{ _id: false }
);
Expand Down
1 change: 1 addition & 0 deletions src/Schema/Transaction/PayPalAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const PayPalAccount = new mongoose.Schema(
email: String,
name: String,
payerId: String,
countryCode: String,
},
{ _id: false }
);
Expand Down

0 comments on commit cd1f760

Please sign in to comment.