[RESOLVED] Error when Trying to Use Payment Link Feature in Ninja v5: Cannot Assign int to Subscription Property

Hey everyone,

I hope you’re all doing well. I’ve encountered a bit of a roadblock while trying to utilize the Payment Link feature in Ninja v5 running Version, and I’m hoping someone here might be able to help shed some light on the issue.

I’ve been working on implementing the Payment Link feature to allow clients to easily book support packages using a direct link.

Steps Taken:

  1. Created a new Payment Link to test out this feature.
  2. Entered all the necessary details, making sure to fill in the required fields (marked with a star ‘*’).
  3. Saved the Payment Link and opened it in a different browser to ensure that no cookies or cached data were affecting the outcome.
  4. However, upon opening the link, I encountered the following error message (shown above under the Problem-section.

If anyone has faced a similar issue or has an idea about how to tackle this, I would greatly appreciate your input. Thank you in advance for any help or suggestions you can provide.


@david can you please advise?

Which version of the app are you using?

Hey, sorry for forgetting to include this in my original post. I’m using stable version 5.6.30-l123 in a self-hosted Ubuntu Docker environment.

Thanks, can you please post the full error from storage/logs?

Of course, here are the logs from storage/logs as requested. While trying to upload, I get the error message from Discourse that I’m not allowed to upload any files, so here’s the link: Blindsend
Hope that helps! If you need more information, please let me know.

Thanks, this definitely looks like a bug. Please create an issue here and we’ll make sure it’s corrected.

The issue has been resolved with version v5.6.31. Please refer to the GitHub Issue for more details: GitHub Issue Link. I appreciate the prompt response from the Invoice Ninja team.

1 Like

Glad to hear it, thanks for the update!