Store the order ID and the date it was created in the database.
Have a cron that grabs all unpaid orders that are >X seconds old, where X is how long BrainBlocks allows you to pay + a little padding. All those orders should then update their respective shops so the order is marked as unpaid.
Store the order ID and the date it was created in the database.
Have a cron that grabs all unpaid orders that are >X seconds old, where X is how long BrainBlocks allows you to pay + a little padding. All those orders should then update their respective shops so the order is marked as unpaid.