fix card type symbol in the example, should be :master_card not :mastercard