Forums / General / URGENT:problem with Paypal

URGENT:problem with Paypal

Author Message

Elena Ivanova

Saturday 26 January 2008 12:41:11 am

Hi Christian,

>1. After you commented the line in paypal.ini the extension works correctly?
Yes, it works.

>2. What version of eZ do you have installed? I'm starting think that it can be a version problem...
I'm using version 3.9.2.

Order appears in admin webshop section when customer performs the payment.

christian bencivenni

Saturday 26 January 2008 12:54:16 am

Thank you again.
Now I'm making some tries with the Server Admin to know if it is a Server provlem or an ez problem.
I starting to think it can be a eZ 3.10.0 problem.
FOR EZ CREW or anything else: are someone outthere who installed and use ezPaypal extension with ez 3.10.0?

Martin Ulrich

Saturday 26 January 2008 6:56:56 am

works with no problem with 3.10.0 on

http://was-wir-sind.de

I have no entry in global siteaccess, but only in mysiteaccess/site.ini.append.php

[ExtensionSettings]
ActiveAccessExtensions[]=ezpaypal

but my design is not in extension directory, but in ezroot/design/mynewdesign, may be this has an effect?

paypal ini:

#?ini charset="iso-8859-1"?

[ServerSettings]
ServerName=https://www.paypal.com
#ServerName=https://www.sandbox.paypal.com
RequestURI=/cgi-bin/webscr

[PaypalSettings]
# max length of description of the order
# everything that exceeds will be truncated
MaxDescriptionLength=127

# field: "business"
# e-mail of receiver
Business=xxxx@artenic.de

# field: "no_note"
# prompt to include a note. 0 - prompt, 1 - dont prompt
NoNote=1

# field: "cn"
# label that will appear above the note field
# maximum 40 characters
NoteLabel=Artenic Verlag WAS WIR SIND

# field: "page_style"
PageStyle=Artenic_1
#PageStyle=FiveClock
#PageStyle=paypal

# field: "cs"
# background color if PageStyle not set. 0 - white, 1 - black.
BackgroundColor=0

#filed: "image_url" (URI to the logo image (150 x 50 pixels))
LogoURI=/var/shop/images/mylogo.png

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

christian bencivenni

Saturday 26 January 2008 7:23:47 am

Hi Sepp and thank you fr your help.
What do you means with "I have no entry in global siteaccess, but only in mysiteaccess/site.ini.append.php"?

The extension works correctly becouse I can see the payment in Paypal site.

Another one: you hav installed the regular 3.10.0 or the SVN downloaded one?

I confront your paypal.ini (I search the one in extension/ezpayal/setting directory) and they are similar. The only difference is in Servername. Mine is:

#?ini charset="iso-8859-1"?

[ServerSettings]
#ServerName=https://www.paypal.com
ServerName=https://www.sandbox.paypal.com
RequestURI=/cgi-bin/webscr

[PaypalSettings]
# max length of description of the order
# everything that exceeds will be truncated 
MaxDescriptionLength=127

# field: "business"
# e-mail of receiver
Business=seller_1199786956_biz@gonet.it

# field: "no_note" 
# prompt to include a note. 0 - prompt, 1 - dont prompt
NoNote=0

# field: "cn"
# label that will appear above the note field
# maximum 40 characters
NoteLabel=Some Label

# field: "page_style"
#PageStyle=
#PageStyle=FiveClock
#PageStyle=paypal

# field: "cs" 
# background color if PageStyle not set. 0 - white, 1 - black.                            
BackgroundColor=0

#filed: "image_url" (URI to the logo image (150 x 50 pixels))
LogoURI=/var/shop/images/mylogo.png

Martin Ulrich

Saturday 26 January 2008 12:11:00 pm

there is a global site.ini.append.php that work for all siteaccesses in settings/override
code to activate an extension there is

[ExtensionSettings]
ActiveExtensions[]=ezpaypal

but if you want and extension only for one specific siteacces you had to write in settings/siteaccess/myaccess

[ExtensionSettings]
ActiveAccessExtensions[]=ezpaypal

means my paypal extension is only active for one siteaccess

... but that, I think, was not the reason for your problem.

have you tried in admin user roles
"shop ---> allow everything"

... just a thought

what happens, if you use paypal lifesite?

ps:
regular 3.10.0

perhaps is missing data from template.
Do you use template code from plainsite?
Try use confirmorder.tpl from another ezdesign (base?)

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

christian bencivenni

Sunday 27 January 2008 12:37:13 am

The Administrator profile have access to all functions with no limitation.
The Member profile have shop->buy->No limits.

I never try with life paypal lifesite becouse the payment seems to work and I don't want to send money for nothing. Do you think I must do a try?

For confirmorder.tpl I override:
plain_site_admin/visual/templateview/shop/confirmorder.tpl
with:
design/plain_site/override/templates/confirmordernuovo.tpl

I found the used template activating the Template debug in backend.
What else can I use?

Martin Ulrich

Sunday 27 January 2008 5:12:32 am

I could be wrong, but for all "I" know it is not possibel resp. allowed to do overrides for templates in shop workflow.!!!

I tried a lot with design shop_site to have different shop designs in one installation, but never it works with override.

I dont know how you get to work an override for confirmorder.tpl

as I say, I could be wrong. but I suggest, try it without override.

--
sorry, I go throug forum, and what I said is wrong. It is possible to do overrides for basket etc. But it never works for me.
But may be it is worth to try to use shop workflowtemplates without overrides

_______________________

http://artenic.de ARTENIC - Publishing mit allen Mitteln!

christian bencivenni

Sunday 27 January 2008 7:46:42 am

Well...
I only change some in the display output (like spaces and colors) and translate terms from english to italian)...
My doubt is in error.log:

...
[ Jan 25 2008 20:48:54 ] [81.208.83.217] eZINI:
Undefined variable: 'PageStyle' in group 'PaypalSettings' in paypal.ini
[ Jan 25 2008 20:50:09 ] [66.135.197.164] eZSys::serverVariable:
Server variable 'REQUEST_URI' does not exist
[ Jan 25 2008 20:50:09 ] [66.135.197.164] eZSys::serverVariable:
Server variable 'SCRIPT_FILENAME' does not exist
[ Jan 25 2008 20:50:09 ] [66.135.197.164] eZSys::serverVariable:
Server variable 'DOCUMENT_ROOT' does not exist
[ Jan 25 2008 20:50:16 ] [81.208.83.217] eZSys::serverVariable:
...

I'd like to know what are these REQUEST_URI, SCRIPT_FILENAME, DOCUMENT_ROOT and why they return an error.
Do you think it is connected to my problem?

christian bencivenni

Monday 28 January 2008 9:13:57 am

Great News!
The problem seems to be RESOLVED!
Thanking a friend who is also a very good systemist we have the solution:
the problem is originated from a config paypal error in value account.
Simply the Paypal bank account was configured for US dollars payments but the site is configured for European Euro payments. the difference generated an error during response to eZ site.
We found two settings:
1. profile -> currency balances: to change bank account to EURO
2. profile -> Payment Receiving Preferences ->Block payments sent to me in a currency I do not hold: unchecked

Choosing these options the site running correctly.
Thank you to you all for the incredible help!
I love this community.

Carl Worswick

Thursday 04 March 2010 7:53:54 am

I had the same problems as you guys - my notify_url.php script was looking for a completed status but only ever found "pending."

After hours searching around I found that my problem was solved by this one line in the 80+ page Sandbox documentation - "When payment review is enabled, all transactions become pending." Of course my payment review was enabled. Switching it off and all my payments went through a dream.

Hope that's of some help.