Jump to content
Latest News: (loading..)
Harald Ponce de Leon

PayPal App for osCommerce Online Merchant

Recommended Posts

@Harald Ponce de LeonHello Harald,

Sorry, have this posted in the wrong topic:

https://forums.oscommerce.com/topic/410770-paypal-app-v5000/?do=findComment&comment=1759811

Please consider to remove it there.

Now the post:

Tried to install latest PayPal app on a store with only digital/downloadable products. I get the error message " 10004 - Transaction refused because of an invalid argument. See additional error messages for details. - You are not signed up to accept payment for digitally delivered goods. "

There is no option in my spanish PayPal account for to accept digital goods and I contacted the spanish PayPal support and they do not know anything about this option.
In older versions this worked.

Discount coupon add on seems doesn't work any more with the latest PayPal app version in the sense that the discount isn't passed to PayPal. (SSL and Instant update set to true).

On the Checkout confirmation page the discount shows correct and order total is correct. Not so on the PayPal payment page.

This also worked correct in older versions.

Thanks

Rainer

Share this post


Link to post
Share on other sites

@Harald Ponce de Leon

Harald, having real problems with the Paypal App in the UK in relation to 3d Secure.  Does the hosted checkout support 3d secure.  I did see somewhere on the roadmap that is was planned for it but can't see (or haven't found!) any further info about it.

Thanks very much.

Kind regards

Rob

Share this post


Link to post
Share on other sites

@Harald Ponce de Leon
PayPal Express Checkout - The only choice PayPal Payment Module needed?

if you have "set password" module and "login with paypal" activated, "paypal express checkout" from the paypal app can be the only choice paypal module for logged in customers going thrue the oscommerce checkout, as well as guests starting from the paypal express checkout button in the shopping cart, right? no need to have paypal payments standard activated as second option, right?

"Login with PayPal" Problem.

next, i have logged in with "login with paypal" from the paypal app and figured that the gender has not been set and the "street" has been filled with the "full name". in oscommerce customer details admin settings, all except gender is set to false (so no birthday, company, suburb, state). and where does the additional requested paypal "account information" go to? (response from the logs "postal_code=14480&locality=Potsdam&country=DE&street_address=Stephan+Gebbers")

and will the birthday (etc) from paypal be stored only when the birthday is set to true in Oscommerce Customer Details settings?

PayPal App

In general i'm not sure if i understand how the paypal app is meant to work. Currently i only have "login with paypal" and "paypal express checkout" activated. But the data you get from a new customer account thru "paypal express checkout" is different compared the "login with paypal" right?
Or is nothing from the "extra" data from login with paypal stored anywhere? I could find the extra data in the paypal app logs only.

Regards,
Stephan


Need an easy base to start creating Oscommerce Modules?
https://oscompose.com/ (Forum Thread about OsCompose)

 

Share this post


Link to post
Share on other sites
On 23.8.2017 at 1:40 AM, frankl said:

Harald, how to get customer's phone number when using In-Context?

@frankl
not sure if this helps in your case, i did this in my checkout_process.php
(i guess you need to set the option in paypal to make a phone number mandatory and use paypal express checkout)

after

  $payment_modules->after_process(); 

i got this

  $pm = strtolower($order->info['payment_method']);
    if ((strpos($pm, 'paypal') !== FALSE) && ($response_array['PAYMENTINFO_0_PAYMENTSTATUS'] == 'Completed') && ($response_array['PAYMENTINFO_0_ACK'] == 'Success')) {
	if (isset($appPayPalEcResult['PHONENUM'])) $paypal_phone = $appPayPalEcResult['PHONENUM'];

// and write it to a database table here
}
Edited by Stephan Gebbers

Need an easy base to start creating Oscommerce Modules?
https://oscompose.com/ (Forum Thread about OsCompose)

 

Share this post


Link to post
Share on other sites

Hello,

Can someone guide me how to trigger that standard_ipn.php is used for stock substract and order confirmation mail instead of paypal_standard.php.

I need this for debugging some modifications.

Develop/test environment with sandbox account, PayPal APP 5.018, osc2.3.4BS EDGE latest version.

 

Thanks

Rainer

Share this post


Link to post
Share on other sites
On 1/3/2017 at 11:33 AM, frankl said:

 

TO not forget next time we find this BUG (Could not verify... bla bla bla): After suffering 2 days on this bug..... 

Finally the unique working version is Paypal 1.0 !!!  its easy.........................  https://apps.oscommerce.com/Get&V9ong&mlMTr


My contributions

 

Regards from Spain! ;)

Share this post


Link to post
Share on other sites

@Harald Ponce de Leon

I do not know if they have communicated it before, I have not read all the thread.

When updating, new files are downloaded to the admin folder that does not exist because it is renamed for security. If during the installation of the store ask in which folder you want to install the admin, Why the module does not have it present?

That would have to be modified by DIR_WS_ADMIN, which is where the name of the admin folder that each one indicated when installing the store appears.

And in passing mention that you should ask during the installation of the store if the domain we have in http or https ("mandatory" by google) to install it in one way or another.

Share this post


Link to post
Share on other sites
Posted (edited)
 

We are running:
Installed Version: osCommerce Online Merchant v2.3.4
and
PayPal App v5.018

PayPal Pro Techs and I cannot get Hosted Solution to work. PayPal says everything is correct on their end. Credentials are in and correct.

When I check to see whether there's a more recent version of the app, the most recent version on this page
https://apps.oscommerce.com/fZMiN&paypal-app
is PayPal App v5.010

But we are already running the v5.018 - is that the most recent?

What's happening is that the embed box appears, briefly, complains that it's missing a compatibility.php file way down in the /ext path, and it never asks for CC # or credentials. (That file does not exist in that location in the vanilla Responsive-osCommerce-master OSC 2.3.4 SW, whereas your PayPal app IS there.)

We have been running PayPal Standard successfully using your app for many months.

Ideas?

THank you for any help you can give.

Edited by robinwarren
update

Share this post


Link to post
Share on other sites

Didn't one of your posts already state that the Hosted Solution was not yet included in the PayPal app?

Dan

Share this post


Link to post
Share on other sites

Hosted Solution is definitely there! I think it said it's not supported for PayFlow yet, but it IS supported for PayPal.

Gee thanks for responding though! I am so frustrated ...

Share this post


Link to post
Share on other sites

When I switch Configure/General/Gateway from PayPal to PayFlow, I see the message that the app isn't updated yet for PayFlow. I don't see that message when it's set to PayPal.

I'm still confused about the version level. I'm running v5.018, but the most recent version on the app page is v5.010. So doesn't mine seem later than that?

Share this post


Link to post
Share on other sites

As I understand it....v5.018 was an auto update on 5.010 to swat a few bugs....sorry I don't know anything about Hosted Solution whatever that is.

Dan

Share this post


Link to post
Share on other sites
On 01/03/2018 at 10:20 PM, robinwarren said:

When I switch Configure/General/Gateway from PayPal to PayFlow, I see the message that the app isn't updated yet for PayFlow. I don't see that message when it's set to PayPal.

I'm still confused about the version level. I'm running v5.018, but the most recent version on the app page is v5.010. So doesn't mine seem later than that?

More recent updates than 5.010 are applied automatically from within your store admin. It's the beginning of a brave new world where store owners don't have to do it all themselves - actually the brave new world started at an earlier version but 5.010 is so important (for TLSv1.2) that it's in the osc apps at that level. Yes the app is supposed to support the hosted solution - for Dan's benefit it's Paypal appearing in a frame over your page. IIRC you need a particular Paypal subscription to use it.

paypal-app-versions.png


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (2.3.4.1 CE) here: https://github.com/gburton/osCommerce-234-bootstrap/archive/master.zip

For Github users:

2.3.4.1 CE with bugfixes here: https://github.com/osComma/Responsive-osCommerce/tree/defrosted

Bootstrap addons - one per branch - https://github.com/BrockleyJohn/Responsive-osCommerce/wiki/Overview-of-Branches

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post


Link to post
Share on other sites

As far as I know, the Hosted module doesn't work. This was reported to Harald and he acknowledge it and said he would look at it but a fix was never made available. I could be mistaken but the op can test it here to verify it.

Share this post


Link to post
Share on other sites
Posted (edited)
On 10/03/2018 at 7:32 PM, Jack_mcs said:

As far as I know, the Hosted module doesn't work. This was reported to Harald and he acknowledge it and said he would look at it but a fix was never made available. I could be mistaken but the op can test it here to verify it.

@Jack_mcs It appears to work now. Whether it's fixed or just plain magic I couldn't say :happy:

...or of course I might have clicked on the wrong method but there's no way to tell now!

Screenshot 2018-03-24 17.23.49.png

Edited by BrockleyJohn
completeness

For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (2.3.4.1 CE) here: https://github.com/gburton/osCommerce-234-bootstrap/archive/master.zip

For Github users:

2.3.4.1 CE with bugfixes here: https://github.com/osComma/Responsive-osCommerce/tree/defrosted

Bootstrap addons - one per branch - https://github.com/BrockleyJohn/Responsive-osCommerce/wiki/Overview-of-Branches

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post


Link to post
Share on other sites

Thanks, that's good to know. That method is quite a bit less costly. You do lose the virtual terminal but that doesn't matter to some shop owners.

Share this post


Link to post
Share on other sites

I have just installed the paypal app on my 2 sites - the first one went without issue and works as it should.

However, I have installed on the second site and everything works as it should in Admin. BUT when a customer tries to add something to the shopping cart (or view the cart) just a white screen is displayed.

The error in my error log is: 

PHP Fatal error:  Cannot redeclare class paypal_express in /home/myaccount/public_html/includes/modules/payment/paypal_express.php on line 17

Line 17 of paypal_express.php is as follows:   

class paypal_express {

Any pointers on this would be greatly appreciated as my site is essentially now losing orders.

Many Thanks

 

 

 

 

 


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites

Please ignore my post above - while I was writing the post it seemed to rectify itself ??!!?? Very odd but everything seems to be working as it should now.

Many Thanks


Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Share this post


Link to post
Share on other sites
9 minutes ago, Mort-lemur said:

I have just installed the paypal app on my 2 sites - the first one went without issue and works as it should.

However, I have installed on the second site and everything works as it should in Admin. BUT when a customer tries to add something to the shopping cart (or view the cart) just a white screen is displayed.

The error in my error log is: 


PHP Fatal error:  Cannot redeclare class paypal_express in /home/myaccount/public_html/includes/modules/payment/paypal_express.php on line 17

Line 17 of paypal_express.php is as follows:   


class paypal_express {

Any pointers on this would be greatly appreciated as my site is essentially now losing orders.

Many Thanks

 

 

 

 

 

@Mort-lemur Heather this looks like the classic slip of uploading a class file to the language directory - first place to look anyway


For a new install or if your store isn't mobile-friendly, get the community-supported responsive osCommerce (2.3.4.1 CE) here: https://github.com/gburton/osCommerce-234-bootstrap/archive/master.zip

For Github users:

2.3.4.1 CE with bugfixes here: https://github.com/osComma/Responsive-osCommerce/tree/defrosted

Bootstrap addons - one per branch - https://github.com/BrockleyJohn/Responsive-osCommerce/wiki/Overview-of-Branches

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

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

×