Jump to content
Sign in to follow this  
elskwi

Issues With Paypal

Recommended Posts

Posted (edited)

Hello

I use  osCommerce Online Merchant v2.3.4.1 CE with the responsive based on this http://template.me.uk/234bs3/index.php
So, I have some trouble using paypal, I use the sandbox

1 - First payment in client account : "hasn't accepted yet"
Settings in paypal has been set to accept automatically
---> See Attachment 1 : the client transaction
---> See Attachment 2 : the order in the admin area in oscommerce
---> See Attachment 3 : the paypal seller money (me)

---> See Attachment 4-5-6 : Paypal Setting in os commerce

---> See Attachment 7-8 : Check information about paypal transaction
Is the transaction number of the client should be the same as the seller ? (client is
1U566944GK3544510 / Seller is 43C83949SX318715F)
When I click on details, i have this message : A problem occurred while retrieving details of the PayPal transaction. Please check the PayPal App Log for more information.
So, I go see that in paypal logs : GetTransactionDetails (Attachment 8 )

I've also tried to put the last Paypal Apps, but no way to make it works too.
https://apps.oscommerce.com/fZMiN&paypal-app

Some times, when I load the paypal express module, i have this error :
The only way I have to fix it is to set the order in the module / payment section

Quote

[Wed May 15 17:48:43.350265 2019] [:error] [pid 7368] [client blablabla:54092] PHP Warning:  include(/var/www/www.blablabla.fr/includes/languages/french/modules/payment): failed to open stream: Success in /var/www/www.blablabla.fr/includes/classes/payment.php on line 37, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350291 2019] [:error] [pid 7368] [client blablabla:54092] PHP Stack trace:, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350299 2019] [:error] [pid 7368] [client blablabla:54092] PHP   1. {main}() /var/www/www.blablabla.fr/checkout_payment.php:0, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350307 2019] [:error] [pid 7368] [client blablabla:54092] PHP   2. payment->__construct() /var/www/www.blablabla.fr/checkout_payment.php:80, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350322 2019] [:error] [pid 7368] [client blablabla:54092] PHP Warning:  include(): Failed opening 'includes/languages/french/modules/payment/' for inclusion (include_path='.:/usr/share/php') in /var/www/www.blablabla.fr/includes/classes/payment.php on line 37, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350330 2019] [:error] [pid 7368] [client blablabla:54092] PHP Stack trace:, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350393 2019] [:error] [pid 7368] [client blablabla:54092] PHP   1. {main}() /var/www/www.blablabla.fr/checkout_payment.php:0, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350400 2019] [:error] [pid 7368] [client blablabla:54092] PHP   2. payment->__construct() /var/www/www.blablabla.fr/checkout_payment.php:80, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350431 2019] [:error] [pid 7368] [client blablabla:54092] PHP Warning:  include(/var/www/www.blablabla.fr/includes/modules/payment): failed to open stream: Success in /var/www/www.blablabla.fr/includes/classes/payment.php on line 38, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350442 2019] [:error] [pid 7368] [client blablabla:54092] PHP Stack trace:, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350456 2019] [:error] [pid 7368] [client blablabla:54092] PHP   1. {main}() /var/www/www.blablabla.fr/checkout_payment.php:0, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350463 2019] [:error] [pid 7368] [client blablabla:54092] PHP   2. payment->__construct() /var/www/www.blablabla.fr/checkout_payment.php:80, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350475 2019] [:error] [pid 7368] [client blablabla:54092] PHP Warning:  include(): Failed opening 'includes/modules/payment/' for inclusion (include_path='.:/usr/share/php') in /var/www/www.blablabla.fr/includes/classes/payment.php on line 38, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350483 2019] [:error] [pid 7368] [client blablabla:54092] PHP Stack trace:, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350489 2019] [:error] [pid 7368] [client blablabla:54092] PHP   1. {main}() /var/www/www.blablabla.fr/checkout_payment.php:0, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350495 2019] [:error] [pid 7368] [client blablabla:54092] PHP   2. payment->__construct() /var/www/www.blablabla.fr/checkout_payment.php:80, referer: http://www.blablabla.fr/checkout_shipping.php  
[Wed May 15 17:48:43.350584 2019] [:error] [pid 7368] [client blablabla:54092] PHP Fatal error:  Uncaught Error: Class '' not found in /var/www/www.blablabla.fr/includes/classes/payment.php:40\nStack trace:\n#0 /var/www/www.blablabla.fr/checkout_payment.php(80): payment->__construct()\n#1 {main}\n  thrown in /var/www/www.blablabla.fr/includes/classes/payment.php on line 40, referer: http://www.blablabla.fr/checkout_shipping.php




Thanks for help

Best Regards
Attachment 1

Spectacle.B32300.png

Attachment 2

Spectacle.B32300.png

Attachment 3

Spectacle.J32495.png

Attachment 4

Spectacle.J32657.png

Attachment 5

Spectacle.V32657.png

Attachment 6

Spectacle.w32657.png

Attachment 7

Spectacle.MTJ577.png

Attachment 8

Spectacle.Tik577.png

Edited by elskwi

Share this post


Link to post
Share on other sites

It says that includes/classes/payment.php is trying to use some file in includes/languages/french/modules/payment/. The first thing I'd check is whether includes/languages/french/modules/payment/ has French versions of all the modules that you want to use that are found in the "english" version, as shipped (includes/languages/english/modules/payment/). There will be some English text in those files that will (eventually) need translating. With luck, that will be your problem. At least, you can see if just copying the "english" files you need for your payment method(s) gets you past the current problem. There may be other empty "french" directories that need similar treatment. 


If you are running the "official" osC 2.3.4 or 2.3.4.1 download, your installation is obsolete! Get (stable) Frozenpatches or (unstable) Edge. See also the naming convention and the latest community-supported responsive "Edge" release

Share this post


Link to post
Share on other sites
Posted (edited)

Hi Phil, I am ok with this, but when i just modify the sort in the module / payment section, it works...

below in the stack, we can see : PHP Fatal error:  Uncaught Error: Class '' like he tries to load a class with an empty name and then, with some kind of convention, use the same name for the language (nothing in fact)

 

Edited by elskwi

Share this post


Link to post
Share on other sites

I would strongly advise you to start debugging with the first error message (the possibly missing "french" language files). There's no telling what sort of cascade of effects are coming from that -- if you're quite fortunate, all your problems might go away with fixing that! Besides, it's an easy fix (just copy in "english" files for the time being, until you find or make a French translation). Might as well attack easy things first.


If you are running the "official" osC 2.3.4 or 2.3.4.1 download, your installation is obsolete! Get (stable) Frozenpatches or (unstable) Edge. See also the naming convention and the latest community-supported responsive "Edge" release

Share this post


Link to post
Share on other sites

You now have "french" language files (no missing files, but might still have English text in them), and you're still getting exactly the same error messages about missing files? Very strange. Does your server have some sort of cache that hasn't been updated yet? Are the permissions on the new files valid (644 is typical)? And of course, you copied them to the right place on the right live server? You didn't edit any of these files and have the editor leave a Byte Order Mark in them?


If you are running the "official" osC 2.3.4 or 2.3.4.1 download, your installation is obsolete! Get (stable) Frozenpatches or (unstable) Edge. See also the naming convention and the latest community-supported responsive "Edge" release

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×