Jon W
Well-known member
- Affected version
- 2.1.0
In
However, it only ever seems to be called by a method in
So the default value of
XF\Payment\AbstractProvider
, there is a method with the following signature:public function supportsRecurring(PaymentProfile $paymentProfile, $unit, $amount, &$result = self::ERR_NO_RECURRING)
However, it only ever seems to be called by a method in
XF\Entity\PaymentProfile
with the following signature:public function supportsRecurring($unit, $amount, &$result = null)
So the default value of
self::ERR_NO_RECURRING
seems a bit pointless as I always have to explicitly set $result
, even if my payment provider doesn't support recurring payments.