eZ Community » Forums » General » URGENT:problem with Paypal
expandshrink

URGENT:problem with Paypal

URGENT:problem with Paypal

Tuesday 08 January 2008 1:52:07 pm - 29 replies

Hi.
i have a very urgent problem.
I set up a development e-commerce site with credit card payment based on paypal.
All work correctly exept for the return from Paypal sandbox.
I receive this message:
"Waiting for a response from the payment server. This can take some
time."
And after 3 refreshes it then displays
"We did not get a confirmation from the payment server"

I read other topics and documentation.

my eZPaypal_notify_url.log say:
08-01-2008 13-23 notify_url.php was propertly ended

my eZPaypalChecker.log say:
08-01-2008 13-23 createDataFromPOST
08-01-2008 13-23 payment_date = 04:21:44 Jan 08, 2008 PST
08-01-2008 13-23 txn_type = web_accept
08-01-2008 13-23 last_name = Bondi
08-01-2008 13-23 residence_country = US
08-01-2008 13-23 pending_reason = echeck
08-01-2008 13-23 item_name = Merlot
08-01-2008 13-23 payment_gross =
08-01-2008 13-23 mc_currency = EUR
08-01-2008 13-23 business = seller_1199786956_biz@gonet.it
08-01-2008 13-23 payment_type = echeck
08-01-2008 13-23 verify_sign = A-UhjZTDwYWJ0.epgvA8EEphvtUvAFTKXisrfFGF4M61JjHuLsvhRHqv
08-01-2008 13-23 payer_status = verified
08-01-2008 13-23 test_ipn = 1
08-01-2008 13-23 tax = 0.00
08-01-2008 13-23 payer_email = alessa_1199786758_biz@gonet.it
08-01-2008 13-23 txn_id = 2TA77257LJ9501542
08-01-2008 13-23 quantity = 1
08-01-2008 13-23 receiver_email = seller_1199786956_biz@gonet.it
08-01-2008 13-23 first_name = Alessandro
08-01-2008 13-23 payer_id = UYTRMTG3PWTM4
08-01-2008 13-23 receiver_id = 7LLVU6LUWF4T6
08-01-2008 13-23 item_number =
08-01-2008 13-23 payer_business_name = Alessandro Bondi's Test Store
08-01-2008 13-23 payment_status = Pending
08-01-2008 13-23 shipping = 0.00
08-01-2008 13-23 mc_gross = 36.00
08-01-2008 13-23 custom = 48
08-01-2008 13-23 charset = windows-1252
08-01-2008 13-23 notify_version = 2.4
08-01-2008 13-23 requestValidation. response from server is: VERIFIED
08-01-2008 13-23 check Field ----
08-01-2008 13-23 ERROR - receiving value doesn't match!!!
08-01-2008 13-23 Field :payment_status
08-01-2008 13-23 Value :Pending
08-01-2008 13-23 Expected value :Completed
08-01-2008 13-23 ----
08-01-2008 13-23 checkPaymentStatus faild

the seller and buyer sandbox account are all verified.

please someone can help me?
It is very urgent.
Thank you in advance

Saturday 26 January 2008 9: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?

Saturday 26 January 2008 3:56:56 pm

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

Modified on Saturday 26 January 2008 3:57:17 pm by Martin Ulrich

Saturday 26 January 2008 4:23:47 pm

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

Saturday 26 January 2008 9: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?)

Modified on Saturday 26 January 2008 9:38:14 pm by Martin Ulrich

Sunday 27 January 2008 9: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?

Sunday 27 January 2008 2:12:32 pm

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

Modified on Sunday 27 January 2008 2:52:33 pm by Martin Ulrich

Sunday 27 January 2008 4:46:42 pm

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?

Monday 28 January 2008 6:13:57 pm

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.

Thursday 04 March 2010 4:53:54 pm

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.

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from