Guides & Tutorials7.8 Update TroubleshootingTroubleshooting Payment Processing Issues via Reference Transactions/Sagepay Repeats

Troubleshooting Payment Processing Issues via Reference Transactions/Sagepay Repeats

Symptoms

After applying the 7.8.3 update, errors may occur processing payments via payment gateways using transaction references:

  • Sagepay Repeats
  • PayPal Pro Reference Payments
  • PayPal Payments Pro with Reference Transactions option enabled

Attempting to capture the payment may result in an error like:

No Credit Card Details are stored for this client so the capture could not be attempted

or

RuntimeException: Card number is required in /path/to/whmcs/vendor/whmcs/whmcs-foundation/lib/Payment/PayMethod/Traits/CreditCardDetailsTrait.php:0

Solution

We are releasing a hot-fix patch which introduces logic to handle these scenarios. It is available for download from:

https://whmcs.community/files/file/114-module-7140-7146-7154-7134-7131-7132-reference-payments-and-eway/