Open HeikoKanzler opened 6 years ago
Thanks. I'll take a look. Also feel free to send a Pull request. @HeikoKanzler : I looked at the paypal GitHub repo and the data type for ccv2 is String. However, the data type of the ccv2 field in version 1.14.0 from maven is Integer.
Did you add another version of the sdk to your project?
Static compilation fails due to a type mismatch in createCreditCard.
/grails-app/services/com/novadge/paypal/PaypalService.groovy: 280: [Static type checking] - Cannot assign value of type java.lang.Object to variable of type java.lang.Integer @ line 280, column 23. new CreditCard( cvv2: props.ccv2, ^
Field ccv2 is declared as Integer in the SDK.