Topic-icon Getting error Unable to decrypt string with openssl_decrypt() when uses clicks

Active Subscriptions:

None
Getting error  Unable to decrypt string with openssl_decrypt() when uses clicks
The topic has been locked.
Support Specialist
Can you give a little more information about when you're seeing the message?

What is the user clicking on, a subscribe button in the Sendy Signup module or somewhere else? Is that the whole error message?

Can you try setting Error Reporting to 'Development' in the admin area and see if more debug information is output when you see that error?

From what you provided above, it's a bit difficult to know what may be going wrong.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Yes, the user is getting the above mentioned error when they click on subscribe button
The topic has been locked.
Active Subscriptions:

None
Hello,

Here are more some details.

1) PHP version where Sendy is hosted 7.2
2) Issue occurs when we click on subscribe button. (Button to add a user to the mailing list)
3) In the Sendy library file there is a post request used to post the data to subscribe the user to a particular mailing list

// API which gives error
$this->sendyUrl . '/subscribe'

// Post request which gives error "Unable to decrypt string with openssl_decrypt()"
$return = $http->post($this->subscribeUrl, $data);

The library file path
JOOMLA_INSTANCE/libraries/sendy/sendy.php
The topic has been locked.
Support Specialist
Thanks for the info. Will have to dig in a little further to see if we can trace what's happening in Sendy. Last question before we do that, can you let us know what version of Sendy you are using?

We're on a slightly older version (4.1.0.1) vs the latest 5.2.x. Could be an issue there.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
We are using Sendy V5.2.1
The topic has been locked.
Active Subscriptions:

None
Hello,

Have you got any chance to check this?

I can see a similar post in the forums for the same issue.

www.sourcecoast.com/forums/sendy/13783-u...with-openssl-decrypt

How you had fixed this?

Please help as this is blocking users to subscribe on our site
The topic has been locked.
Support Specialist
I'm sorry for the delay in response. We've been working on a JFBConnect release to coincide with Joomla 4 stable. Let me look into this today and see what I can do.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Hello,

Have you checked this issue?

We would very much appreciate your help.

Thanks in advance :)
The topic has been locked.
Support Specialist
I really thought I replied to this yesterday, but apparently not. Sorry about that.

We installed and are using Sendy v5.2.3 now. After upgrading, we did not change any configuration settings within Sendy or our Joomla plugins and we are not seeing the issue.

That likely points to a configuration or server issue on your end, but I can't say what offhand. Here's our version information:
* Sendy v5.2.3
* Joomla 3.9.28
* PHP v7.4.21

Beyond those, please double check your settings:
* In the System - Sendy plugin for your Sendy URL, List ID
* In the subscribe module settings for your API key
* In the User plugin for your API key (if you're automatically signing users up on registration).

Let us know if none of the above help. If not, we'll likely need access to the admin area to investigate further.

Thanks,
Alex
The topic has been locked.
Social Stream
Hide. Seek. Play!

Countdown Hide & Seek Game

Countdown, the new hide & seek toy, is available now! Designed and developed by the founders of SourceCoast, it's the perfect toy to get your kids moving at all ages.

Get the Hide and Seek Toy on Amazon