PHP System Payment based on Loyalty and Credit Card