Skip to content

Commit

Permalink
Merge branch 'release/0.0.14'
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinballard committed Sep 17, 2019
2 parents 917ab40 + 954349b commit 420c5cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@discolabs/submarine-js",
"version": "0.0.13",
"version": "0.0.14",
"description": "Javascript client library for Submarine.",
"main": "index.js",
"author": "Gavin Ballard",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ export class CybersourceCreditCardShopPaymentMethod extends ShopPaymentMethod {
cardInfo: {
cardNumber: state.number.value,
cardType: state.cybersourceCardType.value,
expiryMonth: state.expiry.month,
expiryYear: state.expiry.year
expiryMonth: state.expiry.value.month,
expiryYear: state.expiry.value.year
},
encryptionType: 'rsaoaep256'
};
Expand All @@ -109,8 +109,8 @@ export class CybersourceCreditCardShopPaymentMethod extends ShopPaymentMethod {
payment_processor: 'cybersource',
additional_data: {
last4: state.number.value.substring(state.number.value.length - 4),
exp_year: state.expiry.year,
exp_month: state.expiry.month
exp_year: state.expiry.value.year,
exp_month: state.expiry.value.month
}
});
} else {
Expand Down

0 comments on commit 420c5cd

Please sign in to comment.