Redecard gateway implementation