wip
This commit is contained in:
@@ -23,16 +23,16 @@ class HalkbankOnlinePaymentRepository implements PaymentProviderContract
|
||||
protected string $returnUrl = '',
|
||||
protected string $description = '',
|
||||
) {
|
||||
$this->username = $username === '' ? config()->string('module.halkbank-online-payment.username') : $username;
|
||||
$this->password = $password === '' ? config()->string('module.halkbank-online-payment.password') : $password;
|
||||
|
||||
$this->username = $username !== '' ? $username : config()->string('module.halkbank-online-payment.username');
|
||||
$this->password = $password !== '' ? $password : config()->string('module.halkbank-online-payment.password');
|
||||
|
||||
$this->amount = $amount;
|
||||
|
||||
$this->orderNumber = $orderNumber === '' ? $this->generateOrderNumber() : $orderNumber;
|
||||
$this->orderNumber = $orderNumber !== '' ? $orderNumber : $this->generateOrderNumber();
|
||||
|
||||
$this->returnUrl = $returnUrl === '' ? config()->string('module.halkbank-online-payment.returnUrl') : $returnUrl;
|
||||
|
||||
$this->description = $description === '' ? __('Payment') : $description;
|
||||
$this->returnUrl = $returnUrl !== '' ? $returnUrl : config()->string('module.halkbank-online-payment.returnUrl');
|
||||
|
||||
$this->description = $description !== '' ? $description : __('Payment');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user