Stripe payment occasionally hangs indefinitely

  • Alexander Krasovskiy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 weeks 6 days ago #166482 by Alexander Krasovskiy
Stripe payment occasionally hangs indefinitely was created by Alexander Krasovskiy
Hi, I have purchased Stripe payment plugin (os_stripecheckout - Version 4.5.0). It is working fine most of the time, however, I have had at least 5 customer complaints of the same kind: they start event registration, enter all the data, proceed to Stripe payment and the system hangs. No payment is made, no registration is completed. If a person encounters this error, he will get the same error again if he tries to repeat the operation. Stripe is working fine and I am forced to send customers manual link from stripe. Has anyone reported this issue before and can it be fixed?

Please Log in or Create an account to join the conversation.

More
2 weeks 5 days ago #166519 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe payment occasionally hangs indefinitely
Hi Alexander

I need more information about this. The question here is the hang issue happens when customers still on your site or they are already on Stripe website ?

If they could not be redirected to Stripe, then it is a problem with the payment plugin
But if they are already on Stripe website and the process hang there, then the problem is something with Stripe system

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • Alexander Krasovskiy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
2 weeks 4 days ago #166532 by Alexander Krasovskiy
Replied by Alexander Krasovskiy on topic Stripe payment occasionally hangs indefinitely
The problem happens while they are still on our site - they are not redirected to Stripe website. As I wrote, this happens occasionally. One person tried several times during three days and was experiencing the same problem. There were at least 3 more cases of the same issue.

Please Log in or Create an account to join the conversation.

More
2 weeks 3 days ago #166569 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe payment occasionally hangs indefinitely
This is quite hard to know the reason. Could you please try to repeat the action multiple times to see if you can see the problem yourself ? If it ever happens, please try to look at browser console to see if there are any javascript error which could cause this issue and get back to me ?

Maybe send me link to the registration form so that I can try it myself, too ?

Tuan

Please Log in or Create an account to join the conversation.

  • Alexander Krasovskiy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 6 days ago #166643 by Alexander Krasovskiy
Replied by Alexander Krasovskiy on topic Stripe payment occasionally hangs indefinitely
I have tried it on my end - and I could not reproduce it. Tuan, I will send you the registration form link in private email, so that you can try it yourself.

Please Log in or Create an account to join the conversation.

More
1 week 6 days ago #166644 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe payment occasionally hangs indefinitely
I tried myself and could not replicate the problem, too. I am being redirected to Stripe for processing payment, see the attached screenshot

Tuan
Attachments:

Please Log in or Create an account to join the conversation.

More
6 days 6 hours ago #166811 by Sixella
Hi there,

I have the same problem, my stripe plugin do not redirect to stripe web interface, but still show me a message with "OSM_REDIRECT_HEADING" message 

Console devellopers show me next one:
/ru/js.stripe.com/v3:1 
        
        
       Failed to load resource: the server responded with a status of 404 ()
souscribe?task=register.process_subscription:158 Uncaught ReferenceError: Stripe is not defined
    at souscribe?task=register.process_subscription:158:17
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
souscribe:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

Any idea please ? :)

Thanx

Please Log in or Create an account to join the conversation.

More
6 days 4 hours ago #166815 by Sixella
I found the bug;
it was here:
os_stripe.php --> line 862 (incorrect call to stripe script)

I just hide this line
-- //Factory::getApplication()->getDocument()->addScript(" js.stripe.com/v3/ ");

and add next one at the begin of div class="osm-payment-redirect-heading
++ <script type="text/javascript" src=" js.stripe.com/v3/ ">


Well, it's working now :)

Please Log in or Create an account to join the conversation.

More
6 days 4 hours ago #166816 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Stripe payment occasionally hangs indefinitely
That's not a bug. Use Factory::getApplication()->getDocument()->addScript to add a script to document is recommended method.

Usually, this causes by conflict with something on your site. But if the modification works, then please uses that modification for now

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
6 days 4 hours ago #166817 by Sixella
Thank you Tuan,

But when i use Factory::getApplication()->getDocument()->addScript to add a script to document i have a 404 error:

Console dev -> mysite.com/fr/js.stripe.com/v3/ not found, mysite.com/ru/js.stripe.com/v3/ not found

may be this method is recommended but it make 404 error,

Can you check this ?

Thank you

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc