Skip to content

Commit

Permalink
Merge pull request #14 from neil-119/nativescript-stripe-pullreq-4c14eba
Browse files Browse the repository at this point in the history
fixed android mmyy
  • Loading branch information
triniwiz authored Aug 7, 2018
2 parents 269e39d + 0edb550 commit 4279ca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/android/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export class Card {
constructor(cardNumber: string, cardExpMonth: any, cardExpYear: any, cardCVC: string) {
this._card = new com.stripe.android.model.Card(
new java.lang.String(cardNumber),
new java.lang.Integer(cardExpMonth),
new java.lang.Integer(cardExpYear),
new java.lang.Integer(cardExpMonth.intValue()),
new java.lang.Integer(cardExpYear.intValue()),
new java.lang.String(cardCVC)
);
}
Expand Down

0 comments on commit 4279ca9

Please sign in to comment.