Support setting buy now button currency
This commit is contained in:
parent
d1afeb524b
commit
7a448d5e81
1 changed files with 3 additions and 0 deletions
|
|
@ -334,6 +334,9 @@ class OnlinePaymentController extends BaseController
|
|||
'custom_value1' => Input::get('custom_client1'),
|
||||
'custom_value2' => Input::get('custom_client2'),
|
||||
];
|
||||
if (request()->currency_code) {
|
||||
$data['currency_code'] = request()->currency_code;
|
||||
}
|
||||
$client = $clientRepo->save($data, $client);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue