Experiencing a 401 Unauthorized Error During Update?
If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here(
onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.
Can't reproduce No subscription created
- Alex Chartier
- Topic Author
- Offline
Less
More
- Posts: 53
- Thank you received: 0
4 months 3 weeks ago #2978
by Alex Chartier
No subscription created was created by Alex Chartier
Greetings Ruud,
I have had one instance of a customer paying through PayPal where they get the PayPal payment confirmation but no redirect back to our system. The ochSubscription logs do not show any error and there is no transaction or subscription created in the ochSubscriptions tables.
In the ochSubscriptions logs I see a message for this user that states: WARNING xx.xx.xxx.xx paypal PayPal transaction has been processed already. (the masked IP is their IP)
In my PayPal account I have received the Payment, so this explains the warning. I have asked the user if they perhaps did a page refresh at some point during the payment process. I am awaiting an answer and when I get it I will post it here.
In the mean time I have created a manual subscription for them.
I have had one instance of a customer paying through PayPal where they get the PayPal payment confirmation but no redirect back to our system. The ochSubscription logs do not show any error and there is no transaction or subscription created in the ochSubscriptions tables.
In the ochSubscriptions logs I see a message for this user that states: WARNING xx.xx.xxx.xx paypal PayPal transaction has been processed already. (the masked IP is their IP)
In my PayPal account I have received the Payment, so this explains the warning. I have asked the user if they perhaps did a page refresh at some point during the payment process. I am awaiting an answer and when I get it I will post it here.
In the mean time I have created a manual subscription for them.
Please Log in to join the conversation.
- Ruud van Lent
- Offline
Less
More
- Posts: 1640
- Thank you received: 107
4 months 1 week ago #2981
by Ruud van Lent
Replied by Ruud van Lent on topic No subscription created
Hi,
when 'leaving' the checkout and handing over control to the paypal script (popup) a temporary transaction is created in the database. Next the paypal script handles the payment and on succes it will call a so called webhook (a url with parameters).
That webhook will then match the temporary transaction and make it a 'real' transaction + create the subscription for it (and th user rights etc.)
So that is the process. Likely there was an issue with the remote paypal script not executing the webhook or the visitors browser crashing the script or something like that.
Difficult to troubleshoot without error messages (as it is a JavaScript, the error messages should appear in the browser console.)
when 'leaving' the checkout and handing over control to the paypal script (popup) a temporary transaction is created in the database. Next the paypal script handles the payment and on succes it will call a so called webhook (a url with parameters).
That webhook will then match the temporary transaction and make it a 'real' transaction + create the subscription for it (and th user rights etc.)
So that is the process. Likely there was an issue with the remote paypal script not executing the webhook or the visitors browser crashing the script or something like that.
Difficult to troubleshoot without error messages (as it is a JavaScript, the error messages should appear in the browser console.)
Please Log in to join the conversation.
- Alex Chartier
- Topic Author
- Offline
Less
More
- Posts: 53
- Thank you received: 0
3 months 1 week ago #3057
by Alex Chartier
Replied by Alex Chartier on topic No subscription created
I have what I think is some idea of why/how this is happening. The issue happened again today, and while I was explaining it to my wife over dinner something occurred to me.
We have, on occasion, been experiencing sporadic 404 errors on our site. The browser simply reloads and the page loads fine the second time. I wonder if this might be happening to the PayPal return links and PayPal is simply logging it as an error or ignoring it.
I am going to take this up with my hosting provider and see if we can figure out if this can be fixed.
Stay tuned.
We have, on occasion, been experiencing sporadic 404 errors on our site. The browser simply reloads and the page loads fine the second time. I wonder if this might be happening to the PayPal return links and PayPal is simply logging it as an error or ignoring it.
I am going to take this up with my hosting provider and see if we can figure out if this can be fixed.
Stay tuned.
Please Log in to join the conversation.
- Ruud van Lent
- Offline
Less
More
- Posts: 1640
- Thank you received: 107
3 months 5 days ago #3060
by Ruud van Lent
Replied by Ruud van Lent on topic No subscription created
Hi Alex,
that could be an issue but I'm not sure as I do not know how 'resilient' paypal is for these 'hickups' on a site.
Also this is hard (if not impossible) to reproduce
Lets see if your hosting provider is able to make it more reliable and if that changes things on the paypal side
that could be an issue but I'm not sure as I do not know how 'resilient' paypal is for these 'hickups' on a site.
Also this is hard (if not impossible) to reproduce
Lets see if your hosting provider is able to make it more reliable and if that changes things on the paypal side
Please Log in to join the conversation.