codice:
if ($custom_attribute=='')

   echo ps_checkout::list_payment_methods($payment_method_id);

else 

   echo ps_checkout::list_payment_methods($payment_method_id_2);