mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 14:50:39 -04:00
Fix broken enum
This commit is contained in:
parent
cf6f01981b
commit
3215e8edcf
3 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@ function InsertTransaction($transactionId){
|
||||||
values (utc_timestamp(),
|
values (utc_timestamp(),
|
||||||
?,
|
?,
|
||||||
?)',
|
?)',
|
||||||
[PaymentProcessor::FracturedAtlas, $transactionId]);
|
[PaymentProcessorType::FracturedAtlas, $transactionId]);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,8 +69,8 @@ try{
|
||||||
$driver = FirefoxDriver::start($capabilities);
|
$driver = FirefoxDriver::start($capabilities);
|
||||||
|
|
||||||
foreach($pendingPayments as $pendingPayment){
|
foreach($pendingPayments as $pendingPayment){
|
||||||
$pendingPayment->Processor = PaymentProcessor::from($pendingPayment->Processor);
|
$pendingPayment->Processor = PaymentProcessorType::from($pendingPayment->Processor);
|
||||||
if($pendingPayment->Processor == PaymentProcessor::FracturedAtlas){
|
if($pendingPayment->Processor == PaymentProcessorType::FracturedAtlas){
|
||||||
$log->Write('Processing donation ' . $pendingPayment->TransactionId . ' ...');
|
$log->Write('Processing donation ' . $pendingPayment->TransactionId . ' ...');
|
||||||
|
|
||||||
if(Db::QueryInt('
|
if(Db::QueryInt('
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue