• Resolved Robert D Payne

    (@rpayne7264)


    Hello,

    Inside \paid-member-subscriptions\includes\class-payment.php …

    around line 66, there is the class-level variable $amount that is being typed as an integer.

    It should be typed as a float to accommodate prices like 9.97, which would match the type for the amount field in the pms_payments table.

    Regards,
    Robert

Viewing 1 replies (of 1 total)
  • Plugin Support alexandrubodea

    (@alexandrubodea)

    Hi @rpayne7264,

    Thank you for reporting this!

    I’ve created a task, and this change will be made in one of our next updates to Paid Member Subscriptions.

Viewing 1 replies (of 1 total)

The topic ‘Wrong type hint’ is closed to new replies.