Successful PayPal efire integration

Never mind, I got it to work - almost.

Using intense motivation and need, I translated the correct section of the instructions and got my shop to talk to eFire. That enabled the additional menus in the shop admin back end and I got the hashed password.

That fixed the error, but now I need to wait for eFire to try to talk to my shop again before I can install the PayPal module.

…I also have to add, that setting OXID eSales to the “domestic” market (Germany, etc.) adds some fascinating new features to an already good platform… very nice to see.

V.

…aaaand there is an error.

It is not working. Even the "check_system_requirements.php script is malfunctioning. Here is the output:

??? ???í???3???y???

Yes…just a long sequence of “?”.

The cart comes up with this error:

??? ???�???Q???
Warning: Cannot modify header information - headers already sent by (output started at /home//public_html//modules/efi_paypal/efi_paypal_basket.php:1) in /home//public_html//core/oxutils.php on line 826

Warning: Cannot modify header information - headers already sent by (output started at /home//public_html//modules/efi_paypal/efi_paypal_basket.php:1) in /home//public_html/*/core/oxutils.php on line 827

Warning: Cannot modify header information - headers already sent by (output started at /home//public_html//modules/efi_paypal/efi_paypal_basket.php:1) in /home//public_html/*/core/oxutils.php on line 828

…if anyone has some ready suggestions, please tell me, otherwise I will attempt to fixt this on my own tomorrow…

V.

…update.

The '???" was a Zend issue. I updated the server to 3.3.9 and this error went away.

PayPal module still does not work however and I am now talking to the helpful OXID technical support trying to resolve the problem…once we figure out what it is…

This is the error I get when accessing the cart"

Fatal error: Unable to read 14815 bytes in /home/*****/public_html/******/modules/efi_paypal/efi_paypal_basket.php on line 0

V.

[QUOTE=vmajor;22216]…update.

The '???" was a Zend issue. I updated the server to 3.3.9 and this error went away.

PayPal module still does not work however and I am now talking to the helpful OXID technical support trying to resolve the problem…once we figure out what it is…

This is the error I get when accessing the cart"

Fatal error: Unable to read 14815 bytes in /home/*****/public_html/******/modules/efi_paypal/efi_paypal_basket.php on line 0

V.[/QUOTE]
Was efi_paypal_basket.php uploaded in binary mode to server?

Hi Dominik,

thank you for your reply.

Well that is the strange thing. Initially the module archive was uploaded as an archive to the server. I then uncompressed it on the server and moved the necessary directories to the oxid root directory.

But, I now did a binary FTP transfer and the error above is gone. However, there is still no trace of PayPal anywhere at all.

Module is activated - these lines are under System/Modules:

oxorder => invoicepdf/myorder
article_main => tc_fckeditor/tc_fckeditor
content_main => tc_fckeditor/tc_fckeditor
newsletter_main => tc_fckeditor/tc_fckeditor
category_text => tc_fckeditor/tc_fckeditor
news_text => tc_fckeditor/tc_fckeditor
adminlinks_main => tc_fckeditor/tc_fckeditor
basket => efi_paypal/efi_paypal_basket
order => efi_paypal/efi_paypal_order
oxpaymentgateway => efi_paypal/efi_paypal_oxpaymentgateway

So, now I get no errors, but I still get no PayPal anywhere.

V.

OK, I got it to work.

I actually had to make a fresh install of OXID 4.2 since there was nothing sensible left to be done with the original installation.

The original installation started off as 4.15, then went to 4.16 and was finally upgraded to 4.2. I think that during the upgrade process, something broke or perhaps even something simple such as file permission was changed somewhere. This seemingly made it impossible to install the 4.2 version of the PayPal portlet.

With the fresh install of OXID 4.2 and the PayPal version 4.2 portlet, there were no problems (almost, I still do not get the PayPal image at the footer section, but it is visible below “Zend” and it does seem to function.)

The portlet is in German so the work is not done. Changing the language should hopefully be simple since I am hoping that all that needs to be done is to change the entries in the lang.php file. I also need to replace the German PalPal graphics and the PayPal link since presently it is hard coded for www.paypal.com/de...I am hoping that this hardcoded link does not reside inside the encrypted portion of the files.

I will make the translated and internationalized PayPal portlet files available to OXID, once I have made the changes - if the Zend encryption allows me. Perhaps they can use that to offer the portlet through eFire to “International” locations.

In summary, the conclusion (hopefully - I have yet to make this portlet usable outside of Germany) of my portion of this thread.

  1. “???” error = incorrect/malfunctioning Zend component. I installed Zend 3.3.9 and this was resolved.

  2. Safely ignore the “check_system_requirements.php” warning:

Teste ob libXML in einer Version < 2.6.30 installiert ist.
   Warnung: libXML ist installiert, aber in einer Version > 2.6.30
   Maßnahme: Der Einwandfreie Betrieb kann nur bis libXML 2.6.30 garantiert werden. Weitere Informationen zu libXML finden Sie in der PHP Dokumentation

I am using libXML version 2.7.3 and it seems to be fine. According to OXID support this libXLM warning message refers specifically to version 2.6.31.

  1. Backup the original shop database, pictures and any other customized file. Make a fresh install of the latest OXID shop and portlet, and restore the database and other files from backup.

Overall, enabling PayPal for the OXID CE shop was unnecessarily difficult…and the work is still not done.

I am clearly no expert, but my skill level is vastly superior to the majority of the business people that would be seeking a solution like OXID. Thus enabling PayPal for non-EU users is not something that can be readily accomplished without a reseller/service provider/developer assistance. Ergo, OXID CE (International) is not quite ready for spontaneous user acquisition and acceptance.

V.

Hello V.

I will make the translated and internationalized PayPal portlet files available to OXID, once I have made the changes - if the Zend encryption allows me. Perhaps they can use that to offer the portlet through eFire to “International” locations.

I really appreciate your work and your endevours. At the end of the day translating the module is not the complete work yet and will pose more questions than they actually answer. For example, there are still terms and conditions to sign in a foreign language…
Anyway, if you want to colaborate on that with others, feel free to make use of the project tool at http://dev.oxidforge.org.

  1. Safely ignore the “check_system_requirements.php” warning:

I am using libXML version 2.7.3 and it seems to be fine. According to OXID support this libXLM warning message refers specifically to version 2.6.31.

Seems to be a bug. In this case, only for the affected version shall be checked.
https://bugs.oxid-esales.com/view.php?id=1608

  1. Backup the original shop database, pictures and any other customized file. Make a fresh install of the latest OXID shop and portlet, and restore the database and other files from backup.

I don’t think this is unavoidable. I guess something went wrong with your former updates. For checking your updates, there is a tool available now:
http://www.oxid-esales.com/en/exchange/extensions/oxchkversion

Overall, enabling PayPal for the OXID CE shop was unnecessarily difficult…

No doubt. We are still working on making it easier.

Regards

Having some strange problems with efire Paypal module and OXID CE 4.2.0 after having changed our webserver: after a click on the express button I get an error 500. This data is being sent by POST to index.php:
cl basket
fnc transferToPayPal
force_sid 52292dbbeccc57ca94d18f7cfbf61220
submit.x 64
submit.y 21

should be quite ok I guess. Same effect when using Paypal during checkout procedure.
Any help is appreciated!

Hi,

after a click on the express button I get an error 500

Looks like a server problem. Please check if allow_url_fopen is set correctly.

Regards

[QUOTE=Marco Steinhaeuser;23395]Hi,

Looks like a server problem. Please check if allow_url_fopen is set correctly.

Regards[/QUOTE]

yes it is. But when checking system requirements I get following message:
Warnung: libXML ist installiert, aber in einer Version > 2.6.30
Maßnahme: Der Einwandfreie Betrieb kann nur bis libXML 2.6.30 garantiert werden.

Could that cause this problem?

The strange thing is, sometimes it works and sometimes not.

Hi,

Could that cause this problem?

Sure it could. We saw problems especially with version 2.6.31. And please check if SOAP is installed on your server by the way…

Regards

SOAP is installed. As I mentioned before, sometimes it works and sometimes not, nothing has been changed. Could it be a timeout problem with paypal? Maybe needs paypal more time to respond during peak times?

Hi,

sometimes it works and sometimes not,

Well, this is quite hard to debug, especially via forums, isn’t it? Best would be to have a look at the server logs in this case.

Regards

yes of course… there’s nothing special in our server logs!

Hi,

I would like to see an implementation of paypal express checkout on a demo site. I see the URL in your previous post but that site is live.

Let me know.

Ahtasham