Support setting country in buy now link

This commit is contained in:
Hillel Coren 2017-07-31 23:04:05 +03:00
parent 844770f7d5
commit e3a53fdcd3

View File

@ -339,6 +339,9 @@ class OnlinePaymentController extends BaseController
if (request()->currency_code) {
$data['currency_code'] = request()->currency_code;
}
if (request()->country_code) {
$data['country_code'] = request()->country_code;
}
$client = $clientRepo->save($data, $client);
}