Support setting buy now button currency

This commit is contained in:
Hillel Coren 2017-04-20 12:49:24 +03:00
parent d1afeb524b
commit 7a448d5e81

View File

@ -334,6 +334,9 @@ class OnlinePaymentController extends BaseController
'custom_value1' => Input::get('custom_client1'), 'custom_value1' => Input::get('custom_client1'),
'custom_value2' => Input::get('custom_client2'), 'custom_value2' => Input::get('custom_client2'),
]; ];
if (request()->currency_code) {
$data['currency_code'] = request()->currency_code;
}
$client = $clientRepo->save($data, $client); $client = $clientRepo->save($data, $client);
} }