diff --git a/stores/amazon.py b/stores/amazon.py index b32770b1..a58d020c 100644 --- a/stores/amazon.py +++ b/stores/amazon.py @@ -883,7 +883,7 @@ def buy_it_now(self, offering_id, max_atc_retries=DEFAULT_MAX_ATC_TRIES): timeout = self.get_timeout(5) while self.driver.title == "" and time.time() < timeout: time.sleep(0.5) - if self.driver.title != "Place Your Order - AmazonSmile Checkout": + if self.driver.title not in amazon_config["CHECKOUT_TITLES"]: retry += 1 if retry > max_atc_retries: return False