They're getting an AUTHORIZE_ prefix somewhere, and the donation import can't find the pending data
|wikimedia/fundraising/SmashPig : master||Fix check for Amazon-generated IDs|
|wikimedia/fundraising/SmashPig : master||Fix Amazon order IDs for manual captures|
|wikimedia/fundraising/SmashPig : master||DRY finding OrderReferenceId, get_class() -> instanceOf|
|mediawiki/extensions/DonationInterface : master||Fix merchant order ID on order reference|
These are orders that were captured manually via the console. Our call to setOrderReferenceDetails used the wrong parameter name for seller order ID, so that entity didn't have our ID attached. Hoping the above patch fixing that will make the ID carry forward through authorization and capture.
TODO: make sure we're not charging people who think their donation failed.
Just monitoring to see if any more of these arise - our Amazon contact said he didn't think this fix would do it, but I do see captures getting the same reference ID as the associated authorization.