this is the code in which you can get the payment method