r351 is an abomination, we must revisit this after the deadline and fix the libpay internals so that this isn't needed. :-)
Still, I agree with this as a short-term workaround to ensure that is_refundable() hits a fresh cache so that it uses the right state to determine if things are refundable or not.
r351 is an abomination, we must revisit this after the deadline and fix the libpay internals so that this isn't needed. :-)
Still, I agree with this as a short-term workaround to ensure that is_refundable() hits a fresh cache so that it uses the right state to determine if things are refundable or not.