• Resolved manudrago

    (@manudrago)


    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

    1. 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.php
    Line: 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 to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Poonam Namdev

    (@poonam9)

    Hi @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.0000000000002Stripe 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 to reply to this topic.