WooCommerce Subscriptions change payment method bug
-
I use WooCommerce Subscriptions and Paystack.
My customer is attempting to update their payment method (new card) before their next subscription renewal, however, they are not able to.
In the order notes, the first message returned from Paystack says:
“Payment method changed from “Debit/Credit Card (Paystack)” to “Debit/Credit Card (Paystack)” by the subscriber.”
The next message states:
“Payment was declined by Paystack. Reason: You must specify a valid amount. Status changed from Active to Pending.“
The supplied payment details are then not saved and only the original payment method details show.
According to the Paystack documentation, this error displays under the following conditions “You’ve attempted to initiate a transaction with the amount set to zero”.
I suspect Paystack is expecting an amount to be processed?as if it was a renewal payment, however since the customer is only updating their payment method details in preparation for the next renewal payment, there is no actual amount specified.
As such the customer is not able to update their payment method details.
Please advise if this is a a known bug and if there is any way around it, thanks.
- The topic ‘WooCommerce Subscriptions change payment method bug’ is closed to new replies.