mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 10:56:46 -04:00
Correctly process matching donations from funds
This commit is contained in:
parent
daee86b919
commit
06096fa7dd
4 changed files with 19 additions and 14 deletions
|
@ -89,7 +89,7 @@ try{
|
|||
$driver->get('https://fundraising.fracturedatlas.org/admin/donations?query=' . $pendingPayment->TransactionId);
|
||||
|
||||
// Check if we need to log in to FA.
|
||||
// Wait until the <body> element is visible, then check the current URL.
|
||||
// Wait until the `<body>` element is visible, then check the current URL.
|
||||
$driver->wait(20, 250)->until(WebDriverExpectedCondition::visibilityOfElementLocated(WebDriverBy::xpath('/html/body')));
|
||||
if(stripos($driver->getCurrentURL(), 'auth0.com')){
|
||||
$log->Write('Logging in to Fractured Atlas ...');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue