crash fix for paypal card payment

crash fix for paypal card payment