We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Simple Commerce subscribe link and Internet Explorer

How Do I?

Simon Job's avatar
Simon Job
123 posts
6 years ago
Simon Job's avatar Simon Job

I’m using the Simple Commerce module to create subscriptions. The subscribe button is using {subscribe_now_url}.

There is no problem when using Chrome (Mac or Win), Edge (Win 10). However, with Internet Explorer on Windows 10 (I am unable to test against other versions of Windows), the opened page on PayPal shows: Error Detected: “We were unable to decrypt the certificate id.”

How would I begin to debug this or is it an IE issue?

I believe this error would come about from the link being malformed - however, I have no control how that link is being created.

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

Especially if you are using encrypted payments, IE might require that you use the buttons instead of the URLs. It has limits on URL length that is probably chopping off part of your request to PayPal, so PayPal isn’t receiving your full data. Please see the note in the docs regarding this link cutoff.

       
Simon Job's avatar
Simon Job
123 posts
6 years ago
Simon Job's avatar Simon Job

Thanks for clarifying Derek. However, there is no ‘subscribe_now’ button documented. Will a buy_now button work for subscriptions?

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

Yes the Buy Now button should work for your purposes. Under the hood, the difference between the link and the button is that the button is a form that submits via POST, rather than as a link would via GET.

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

Side note: Buttons are probably “better”, but can I ask why you are targeting Internet Explorer? MS doesn’t support it, Windows 10 has Edge (and other non-MS browsers even). I don’t think even MS makes sure their sites work on IE?

       
Simon Job's avatar
Simon Job
123 posts
6 years ago
Simon Job's avatar Simon Job

Again, thanks for the clarification.

I notice, however, that the different approaches give you a different experience on Paypal. (see screenshot) In particular, given the subscription via Paypal is pushing the management for the user back to Paypal, I like that the subscribe_now url goes to a page on Paypal that shows it is a subscription. However, that page seems to be using older styling. On the other hand, only the button/POST option seems to work with Paypal One Touch and the newer styling.

I’m not targetting IE. But of the few people that have signed up, one was using IE. Not sure why they were using IE, but many of my potential customers work in Government…

variations of PayPal screens for POST vs GET

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

Sadly this is kind of common with PayPal—half old, half new, without a lot of rhyme or reason. If you prefer the subscription URL experience on the PayPal side, you might try to use JavaScript to have that link submit its parameters via POST instead of allowing the normal click-through. I don’t know if PayPal will work with that, but it should side-step the IE issue of harsh URL length limits.

       
Simon Job's avatar
Simon Job
123 posts
6 years ago
Simon Job's avatar Simon Job

Last question 😊 Just out of interest, would a POST request for the subscribe URL achieve a different page (like the buy now for GET vs POST does)? If so, should I a feature request in for a subscribe_now_button ?

       
Derek Jones's avatar
Derek Jones
7,561 posts
6 years ago
Derek Jones's avatar Derek Jones

I honestly don’t know, I don’t even know if it will work, but it’s worth a try. PayPal is a never-ending moving target. :/

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.