Latest News: (loading..)
Harald Ponce de Leon

PayPal App for osCommerce Online Merchant

185 posts in this topic

Getting this error when trying Login with PayPal:

Relying Party Validation error: redirect_uri provided in the request does not match with the registered redirect_uri.

 

Have used HTTPFox to see the query string but cannot locate the return URI in it anywhere.

What to try next?

 

Share this post


Link to post
Share on other sites

We have problems about Stock not decreasing when users pay with PS and order finish through ext/modules/payment/paypal/standard_ipn.php.

 

We have OSC 2.3.4 BS with QTPRO . I'm not sure if I have to use the original standard_ipn.php including with osc 2.3.4 BS https://github.com/gburton/Responsive-osCommerce/blob/master/ext/modules/payment/paypal/standard_ipn.php or the one coming with the App. The App ipn file is bigger and the other one looks as redirect most of the stuff to includes/modules/payment/paypal_standard.php. Actually we are using the one including with the App (with the QTPRO decreasing Stock code added)

 

Which one should I use? 

Edited by egutierrez

Share this post


Link to post
Share on other sites

The app introduced the IPN stock decrement, so I believe that's the one to use.

Share this post


Link to post
Share on other sites

Hello All,

 

I hope I'm posting in the right area and please forgive my ignorance but could someone give me step-by-step, VERY elementary instructions on how/where to download the PayPal App for osCommerce Online Merchant? I have gone to the following - http://addons.oscommerce.com/info/9184 and clicked on the blue "download" box. Do I "open" or "save"? Where do I save it? My current osC v2.3.4 was installed by my webhoster, VodaHost, onto their cpanel.

 

Please feel free to break it down in plain English as if I'm an IT 101 student and it's the first day of class. :)

 

Thanks for your help and patients.

Share this post


Link to post
Share on other sites

Hi piernas,

 

Are responding to my two requests right above yours? If so, thanks for responding but please re-read my requests for help.

Share this post


Link to post
Share on other sites

Hello All,

 

I hope I'm posting in the right area and please forgive my ignorance but could someone give me step-by-step, VERY elementary instructions on how/where to download the PayPal App for osCommerce Online Merchant? I have gone to the following - http://addons.oscommerce.com/info/9184 and clicked on the blue "download" box. Do I "open" or "save"? Where do I save it? My current osC v2.3.4 was installed by my webhoster, VodaHost, onto their cpanel.

 

Please feel free to break it down in plain English as if I'm an IT 101 student and it's the first day of class. :)

 

Thanks for your help and patients.

 

@@praywithdrums

 

Jeff, what you're asking in regards to downloading/saving files is very basic and there would be a plethora of information on how to do this on the internet/google. These forums a more about discussions, assisting with or resolving issues with osCommerce itself and with add-ons.

 

Anyway, you need to save the PayPal package to your computer's hard-drive (and unzip it) then follow the instructions in the package on how to install it etc. which will involve uploading files to your osCommerce installation on your server, either by using your servers cPanel's file-manager or an FTP program. Again, there will lots of information available on how to do this.

 

regards

Edited by auzStar
praywithdrums likes this

Share this post


Link to post
Share on other sites

@@praywithdrums

 

If you are unsure what to do, you may be better off asking for paid help in the correct forum. If you select the right developer they will not charge that much for uploading the files you require. Just be sure to get a few quotes rather than take the first one offered.

 

Basic downloading and opening of files is no different to any other files saved to your computer. Once you have saved the files to your computer, use a program to open the files and read the install info that is in with the files. If you cant do this easy operation, maybe oscomerce is not for you.

Share this post


Link to post
Share on other sites

When another zone customers cant pay with Paypal standard:

 

 

Answer from PayPal:

 

Usually this error happens when a web shop is set up using the "address_override" option in their checkout or button code.

When this variable is set to "1", it means that the address provided during your checkout is set to override any address in the customer's PayPal account.

With this setting turned on, the customer would not have the option to edit the shipping address when they are redirected to PayPal for checkout. If the buyer entered an invalid shipping address on your website, they would probably see this error message.

Usually an address is invalid if the buyer didn't enter one of the required values (name, address line 1, city, province/state, postal code and country ) or that information is not being sent to PayPal when the buyer is redirected to us for checkout.

The best solution is to remove the "address_override" variable from your button or checkout code.

Another option if you want to leave the address_override setting on, is to make sure your checkout is validating the address form to ensure all required fields are provided and have acceptable formats.


Possible Fix

find in includes/modules/payment/paypal_standard.php
 

      if (is_numeric($sendto) && ($sendto > 0)) {
        $parameters['address_override'] = '1';

change to:
 

      if (is_numeric($sendto) && ($sendto > 0)) {
//        $parameters['address_override'] = '1';  //USA address fix

 

Share this post


Link to post
Share on other sites

I have a problem where paypal intermittently says there is a problem with my website ( now 2.3(BS) with paypal app. It would seem to be related to an android device using google as a browser. Is this a known problem?

 

The customer retried the checkout 5 minutes later and it worked. It cannot just be me! Can it?

Edited by astecme

Share this post


Link to post
Share on other sites

@@astecme

 

Have you tried asking PayPal, whether they have a problem as it may not be an oscommerce fault. Since the release of this addon Harald seems to have disappeared and does not offer any help with this anymore, which was a shame as he seemed to know most of the answers.

Edited by 14steve14

Share this post


Link to post
Share on other sites

Dear oscommerce community,

I have the PayPal app installed and in sandbox mode it works synonymous. However, in Livemodus it does not work. The payment is made with Paypal, however I get no order confirmation.

The following errors are displayed with a live payment via Paypal:

Warning: include (/homepages/1/xxxxxxx/htdocs/catalog/includes/apps/paypal/modules/PS/api/GetTransactionDetails.php): failed to open stream: No suchfile or directory in / homepages / 1 / xxxxxxx / Htdocs / catalog / includes / apps / paypal / OSCOM_PayPal.php on line 395

Warning: include (): Failed opening '/homepages/1/xxxxxxx/htdocs/catalog/includes/paypal/modules/PS/api/GetTransactionDetails.php' for inclusion (include_path = '.: / Usr / lib / php5 .6 ') in /homepages/1/xxxxxxxx/htdocs/catalog/includes/apps/paypal/OSCOM_PayPal.php on line 395

Fatal error: Call to undefined function OSCOM_PayPal_PS_Api_GetTransactionDetails () in /homepages/1/xxxxxxx/htdocs/catalog/includes/apps/paypal/OSCOM_PayPal.php on line 399



Installed:
V2.3.4
PHP version: 5.6.28

Greetings, Frank

Share this post


Link to post
Share on other sites

@@headline-dbs

 

Check that you have entered all the live api credentials correctly. they are different from the sandbox ones.

 

Thanks for the answer.

All live api credentials are entered correctly.

Have these themselves checked and additionally by a PayPal employee (technician) to have checked.

Share this post


Link to post
Share on other sites

@@headline-dbs Can you confirm via FTP if the following file exists:

 

/homepages/1/xxxxxxx/htdocs/catalog/includes/apps/paypal/modules/PS/api/GetTransactionDetails.php

Share this post


Link to post
Share on other sites
@@headline-dbs It seems to be a bug! Can you please make a change in the following file:

 

catalog/includes/modules/payment/paypal_standard.php

 

line 599, change the PS in:

 


.... $this->_app->getApiResult('PS', 'GetTran....

 

to APP, so it becomes:

 

.... $this->_app->getApiResult('APP', 'GetTran....

 

Could you confirm if that works for you? It will be fixed in the next version.

Share this post


Link to post
Share on other sites

 

@@headline-dbs It seems to be a bug! Can you please make a change in the following file:
 
catalog/includes/modules/payment/paypal_standard.php
 
line 599, change the PS in:
 
.... $this->_app->getApiResult('PS', 'GetTran....
 
to APP, so it becomes:
 
.... $this->_app->getApiResult('APP', 'GetTran....
 
Could you confirm if that works for you? It will be fixed in the next version.

 

 

After the change the above error messages are gone. Thank you!

 

However, I am returned to the "checkout_confirmation.php" after the transaction and the following shop message appears in the header:

 

 

  Could not verify the PayPal transaction. Please try again

With PayPal, the transaction is executed, but not displayed with admin / order.

What do I have to change?

Share this post


Link to post
Share on other sites

Note:

In sandbox mode it works!
In Live mode it does not work!
After the transaction the shopping cart is not empty.
With PayPal I set the return on "checkout_success.php".

Share this post


Link to post
Share on other sites

@@headline-dbs I'm looking into this and will get back to you / reply here with a solution. In the meantime, please try Express Checkout as an alternative until the problem has been fixed. I will try and find a solution to this today.

Share this post


Link to post
Share on other sites

@@headline-dbs I'm looking into this and will get back to you / reply here with a solution. In the meantime, please try Express Checkout as an alternative until the problem has been fixed. I will try and find a solution to this today.

Okay, I wait. Thank you for the service.

 

Best regards

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