placing merchant_id and secret_key in new method