Support

Home Forums Event Espresso Premium payment is success on payment gateway but plugin show pending payment

payment is success on payment gateway but plugin show pending payment

Posted: November 10, 2019 at 8:16 pm

Viewing 13 reply threads


titan1943

November 10, 2019 at 8:16 pm

Hi,

i got an issue here, my user make their payment through payment gateway named (iPay88), it’s being told by some of my user that their transaction is completed, received payment gateway confirmation email, but the plugin here still showing pending payment. may i know how can i resolved this problem? This problem occurs more often now as compare to last time, and it’s wasting my time to keep re-check with payment gateway side to confirm the booking. Is it the plugin problem or the payment gateway issues?

thanks and regards,
Titan


Tony

  • Support Staff

November 11, 2019 at 12:06 pm

Hi there,

It’s difficult to say where the problem is from the above.

What I can tell you is that the iPay88 payment method is an offsite payment method, which means the user is directed to iPay88’s server, makes the payment and then is directed back to your site with details of the payment and also a separate ‘IPN’ request* (a request sent from iPay88’s servers to your to tell EE about the payment).

When an offsite payment method shows the payment as complete on their servers but not on EE, it means the request sent to inform your site about the payment (the IPN request) had issues.

What those issues were, I can’t say from the info we have, or indeed that is the problem on your server, but it usually is.

Whilst I can’t ‘go on your site and fix this’, I can have a look over your payment logs and see if anything stands out there if you’d like? We can usually see if it is an issue with the IPN request from the logs but to do so I’ll need admin credential to log into the site:

https://eventespresso.com/send-login-details/

*iPay88 is a little strange in that it dynamically determines if it’s going to use a separate IPN request or not on the transaction itself, which just adds more confusion, but thought I’d note for anyone following along.


titan1943

November 11, 2019 at 1:02 pm

Hi there,

i have send you the credential, kindly help me to check. thank you.

Titan


Tony

  • Support Staff

November 11, 2019 at 4:01 pm

Thank you, I also need the details of at least one registration/transaction that I need to look at as I don’t know which registration this has happened to on your site.

The ID of a registration you had to manually up is fine, just something recent so I know where to look.


titan1943

November 12, 2019 at 3:33 am

Hi,below are some of the affected record

Registration ID Transaction ID
=============== ==============
7046-302-1-f2c7 T199770847400
7037-314-1-a129 T199754798300

hope it helps. thanks

i got another problem, should i open new topic or? i just hit an issues where when user book more than 10 tickets, the site will goes to error page stated:
————————————————————–
This pages isn’t working
http://www.race2gather.com is currently unable to handle the request

HTTP ERROR 500
————————————————————–
can you also help me check on this please. thank you.


Tony

  • Support Staff

November 12, 2019 at 4:52 am

hope it helps. thanks

Nothing more recent? You payment logs don’t go back long enough to review the entries for those registrations.

If you don’t have anything more recent we’ll need to wait for another instance of this to come up and take another look at the logs.

can you also help me check on this please.

Error 500 usually means there is a fatal error being thrown, my guess would be your site is running out of memory.

If you check the server error logs from around the same time you got the above error you should see the ‘full’ error message, can you post that here, please?


titan1943

November 12, 2019 at 6:41 am

If you don’t have anything more recent we’ll need to wait for another instance of this to come up and take another look at the logs.

ok, lets wait for another occurrences, will let you know when happen.

If you check the server error logs from around the same time you got the above error you should see the ‘full’ error message, can you post that here, please?

how can i get server log? can you teach me?


Tony

  • Support Staff

November 12, 2019 at 7:06 am

how can i get server log? can you teach me?

Your host will usually have a section in the control panel for your account to view errors, or you can usually find an error_log file in the root directory of the site that holds the errors but it depends on your server set up.

If you can’t find either of the above you’ll need to contact your host and ask them where you can view error being thrown on the server.


titan1943

November 12, 2019 at 11:16 am

This reply has been marked as private.


titan1943

November 12, 2019 at 11:19 am

i have simulate the 500 error again before getting this log. So the last few line should be the error.


Tony

  • Support Staff

November 12, 2019 at 12:24 pm

PHP Fatal error: Maximum execution time of 30 seconds exceeded

In short, this means the script didn’t have enough time to complete before it reached the max_execution_time limit set on your server. Your getting that error in various diffrnt files meaning its at different points in the request.

What type of hosting are you using? Shared?

[04-Nov-2019 14:47:46 UTC] PHP Warning: fsockopen(): unable to connect to payment.ipay88.com.my:80 (Connection timed out) in /wp-content/plugins/eea-ipay88-gateway/payment_methods/IPay88/EEG_IPay88.gateway.php on line 286

This error, may explain why your payments sometimes don’t work.

Apparently your getting connection timeouts on the request to validate the IPN data, which will break your payment update. However, a connection timing out is likely an issue on iPay88’s meaning there isn’t much we can do to fix it.


titan1943

November 12, 2019 at 8:42 pm

Hi Tony, i have increased the max_execution_time to 300 in the setting. will monitor if the changes resolve this 2 problem.


Tony

  • Support Staff

November 13, 2019 at 2:45 am

300 is a little high, you shouldn’t need a value that high, maybe try 90 to start with and bump it up a little if you continue getting timeouts.


titan1943

November 15, 2019 at 9:34 pm

ok noted Tony, thanks for your support anyways. keep you updated if anything happens again

Viewing 13 reply threads

The support post ‘payment is success on payment gateway but plugin show pending payment’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso