Title: Critical Webhook Error &amp; Subscription API Issue
Last modified: February 17, 2026

---

# Critical Webhook Error & Subscription API Issue

 *  Resolved [manudrago](https://wordpress.org/support/users/manudrago/)
 * (@manudrago)
 * [3 months, 3 weeks ago](https://wordpress.org/support/topic/critical-webhook-error-subscription-api-issue/)
    1. **Subscription Creation API Error**
 * We are receiving the following error during subscription creation:
 * “API error (subscription-create): Invalid integer: 2026.0000000000002”
 * some user fells like they are in a loop:
   First approve £0 pa payment, then £500
   pa, then the system didn’t close down but asked me to re approve etc
    2. **Critical Error on Webhook (500 Internal Server Error)**
 * We are also receiving a fatal error when Stripe sends an invoice.payment_succeeded
   webhook.
 * Error details:
 * Uncaught Error: Attempt to assign property “formType” on null
   File: wp-content/
   plugins/wp-full-stripe-free/includes/wpfs-web-hook-events.phpLine: 1012
 * Stack trace shows the issue occurs in:
   MM_WPFS_InvoicePaymentSucceeded->addRecord()
 * This suggests that the plugin is attempting to assign “formType” to a null object
   during webhook processing.
 * The result:
    - 500 Internal Server Error
    - Webhook processing fails
    - Subscription invoices are not being properly recorded
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-webhook-error-subscription-api-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Poonam Namdev](https://wordpress.org/support/users/poonam9/)
 * (@poonam9)
 * [3 months, 3 weeks ago](https://wordpress.org/support/topic/critical-webhook-error-subscription-api-issue/#post-18825859)
 * Hi [@manudrago](https://wordpress.org/support/users/manudrago/),
 * Thank you for reporting this and for your patience while we investigated the 
   issue.
 * The donation form includes preset amounts such as **£20.26, £120.26, and £1020.26**.
 * Due to a floating-point precision issue during amount conversion Stripe is receiving
   values like:`2026.0000000000002`Stripe requires this to be a whole integer (e.
   g., `2026`), so the API rejects the request.
 * As a temporary workaround please change the preset amounts to whole numbers (
   e.g., £20 instead of £20.26). This should immediately prevent the subscription
   creation error.
 * We have reported both the issues to our development team to ensure amounts are
   properly rounded and cast to integers before being sent to Stripe and there should
   be no fatal error.
 * Let us know if you have other questions.

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-webhook-error-subscription-api-issue%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wp-full-stripe-free/assets/icon-256x256.gif?rev=3416840)
 * [Stripe Payment Forms by WP Full Pay – Accept Credit Card Payments, Donations & Subscriptions](https://wordpress.org/plugins/wp-full-stripe-free/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-full-stripe-free/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-full-stripe-free/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-full-stripe-free/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-full-stripe-free/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-full-stripe-free/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Poonam Namdev](https://wordpress.org/support/users/poonam9/)
 * Last activity: [3 months, 3 weeks ago](https://wordpress.org/support/topic/critical-webhook-error-subscription-api-issue/#post-18825859)
 * Status: resolved