Modified transaction creation in the paypal class to set the payment type as 'Credit'