Photo_Shop PayPal IPN failed Photo_Shop PayPal IPN failed
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Photo_Shop PayPal IPN failed

Started by cjmcc, April 30, 2010, 04:12:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cjmcc

I the admin receive this email after making a download purchase from another registered account. How can I fix this:

Bad order (PayPal says it's invalid): HTTP/1.1 200 OK
Date: Fri, 30 Apr 2010 01:30:03 GMT
Server: Apache/1.3.33 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7e
Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=aNKX7aOwNTu4k6PZVnSt-29CNFDGWEorLtcNEgGRlnUTy1Wq1d2Rb73C8RS_iqfWgcL2fDv5wOcWndGvsEA9RzMD5cF_I8Xe-RrCBBv_BOj18qI99RKxGUcjEs5kvoo3m6pM-W%7cuSXVR3mQMVJF_CWsXKyAbWSU7KCSUUwYPgUGkoiryN5jafUzClFurtnetd_Ew9MakurL2W%7cN2lSom4yWtJ0g8DqmVbZ2Cor3wY_yV5EOfnq2rdWsd_LS8TQzrQQX4FjnkxjKsew-PC3um%7c1272591003; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: cookie_check=yes; expires=Mon, 27-Apr-2020 01:30:03 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navlns=0; expires=Thu, 25-Apr-2030 01:30:03 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: Apache=10.191.196.11.313411272591003346; path=/; expires=Wed, 16-Mar-04 19:01:47 GMT
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

7
INVALID
0
------------------------------------------------------------------------------
The customer receives this email with no download link:

Hello CjMcC,

Thank you for your order at ColorOasis with the order id 8.
Please transfer USD 3.00 as soon as possible.
Some more yadda here.... you can change that in the plugins dir plugins/photo_shop/lang/english.php
http://www.coloroasis.com/gallery/

ColorOasis


Here we can have the invoice header like address etc

Coppermine Sample Gallery
4578 Avenue
New York, NY 10001, USA
(718) 111-1234


   Item ID              Type       Amount       Price total
       583          Download            1          USD 1.50
       593          Download            1          USD 1.50


                                                               

                                To download: 2 pics :: 3.00 USD
                                     --------------------------
                                                Total: 3.00 USD
                               Price includes 19% VAT: 0.57 USD

------------------------------------------------------------------------

Admin also receives this email:

Hello ColorOasis,

CjMcC with the email address cjmcc@columbus.rr.com just made an order on your site ColorOasis. The id of that order is 8 and the total value 3.00.
Click to go to the order manager

Other placeholders you can use (blank if these user profile fiels haven't been filled in):
user_profile1: Galion,OHIO
user_profile2:
user_profile3:
user_profile4:
user_profile5:
user_profile6:

Best regards,
ColorOasis


Here we can have the invoice header like address etc

Coppermine Sample Gallery
4578 Avenue
New York, NY 10001, USA
(718) 111-1234


   Item ID              Type       Amount       Price total
       583          Download            1          USD 1.50
       593          Download            1          USD 1.50


                                                               

                                To download: 2 pics :: 3.00 USD
                                     --------------------------
                                                Total: 3.00 USD
                               Price includes 19% VAT: 0.57 USD

-----------------------------------------------------------------------------------
Any help would be greatfully appreciated !

Joachim Müller


cjmcc

Upgrade Coopermine gallery or Host?

phill104

Your Gallery. We are currently supporting 1.4.26 meaning you are 3 versions behind. - http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade_why
It is a mistake to think you can solve any major problems just with potatoes.

cjmcc

Fresh full install cpg 1.4.26, changed to theme to Project vii, uploaded Photo_Shop folder to Plugins folder.
Installed plug in thru plug in manger, go into admin tools, shop, config,
Enter sandbox business fake email acct. enabled photo downloads, enable offer zips, made new configuration
Photo-----Download-------1.50--------0---------0.00--------0, applied to album. Sign into main paypal sandbox
acct. Go back to gallery sign in under another acct, add items to cart, have corrected the problem with save new amounts
already, checkout, tick paypal button, sign in with fake sandbox buyer acct. and pay, return to test site button gives 500 error.
Emails show the following:

Bad order (PayPal says it's invalid): HTTP/1.1 200 OK
Date: Sat, 01 May 2010 01:19:45 GMT
Server: Apache/1.3.33 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7e
Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=JFnacQfAmlFSaTWOsGCAJ1CtItvCccuck4nZV4gXOzxRT-8rRAYjhnxSnvz5Qqf2EnNoOd7LmZdQ-fdVmcqGdYzFRGF3oBHEnYSpmZqLp2oY7aX_roXNxP7ZZbF_blQjcE0FT0%7cPjFRInaGpRDNRbKWgp6waCHphsFm1b4pVjKiCXWR7fRIjW0uNEuv-B2uGH_WSED6vLp3hG%7c945rw6F74LVbJ6eAT9zP8gZcldxxDmJDEoL7DQNIsbjBwiRbRDCrQWQJeo3gbDKs801eim%7c1272676786; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: cookie_check=yes; expires=Tue, 28-Apr-2020 01:19:46 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navlns=0; expires=Fri, 26-Apr-2030 01:19:46 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: Apache=10.191.196.11.3000127267678614; path=/; expires=Thu, 17-Mar-04 18:51:29 GMT
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

7
INVALID
0
---------------------------------------------------------------------------------------------------------------------
No download links in any of the emails. What the heck am I doing wrong, there's gotta be something not setup right.
website: www.coloroasis.com
Login:test
Pass:user

Stramm

Email says everything...
QuoteBad order (PayPal says it's invalid): HTTP/1.1 200 OK

Means some info is wrong.
As written in the announcement thread check:
- the seller email addy (check for unwanted whitespace, too)
- make sure you set the currency to the same value in your paypal config as well as in the shop plugin.
- use paypal in your area

Joachim Müller

Merged extra thread with existing one.

cjmcc

here is a paypal_inp_log:

[04/30/2010 9:19 PM] - SUCCESS!
IPN POST Vars from Paypal:
mc_gross=3.00, invoice=4, protection_eligibility=Ineligible, address_status=confirmed, item_number1=, tax=0.00, item_number2=, payer_id=D284TQNLD594L, address_street=1 Main St, payment_date=18:19:42 Apr 30, 2010 PDT, payment_status=Pending, charset=windows-1252, address_zip=95131, mc_shipping=0.00, mc_handling=0.00, first_name=Test, mc_fee=0.39, address_country_code=US, address_name=Test User, notify_version=2.9, custom=, payer_status=verified, business=xcjmcc_1272589447_biz@hotmail.com, address_country=United States, num_cart_items=2, mc_handling1=0.00, mc_handling2=0.00, address_city=San Jose, verify_sign=AAHtDts6fhQm5Ure3fQKuKpzIPu7AGrQlTf8YVnIPbwYk59eXJcHOJXl, payer_email=xcjmcc_1272589552_per@hotmail.com, mc_shipping1=0.00, mc_shipping2=0.00, tax1=0.00, tax2=0.00, txn_id=7LN72824FW4162032, payment_type=instant, last_name=User, address_state=CA, item_name1= => Title: No title - ID: 1, receiver_email=xcjmcc_1272589447_biz@hotmail.com, item_name2= => Title: No title - ID: 2, payment_fee=0.39, quantity1=1, quantity2=1, receiver_id=VLK9YT6QEHMBS, pending_reason=paymentreview, txn_type=cart, mc_gross_1=1.50, mc_currency=USD, mc_gross_2=1.50, residence_country=US, test_ipn=1, transaction_subject=Shopping Cart, payment_gross=3.00,
IPN Response from Paypal Server:
HTTP/1.1 200 OK
Date: Sat, 01 May 2010 01:19:45 GMT
Server: Apache/1.3.33 (Unix) mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a mod_ssl/2.8.22 OpenSSL/0.9.7e
Set-Cookie: c9MWDuvPtT9GIMyPc3jwol1VSlO=JFnacQfAmlFSaTWOsGCAJ1CtItvCccuck4nZV4gXOzxRT-8rRAYjhnxSnvz5Qqf2EnNoOd7LmZdQ-fdVmcqGdYzFRGF3oBHEnYSpmZqLp2oY7aX_roXNxP7ZZbF_blQjcE0FT0%7cPjFRInaGpRDNRbKWgp6waCHphsFm1b4pVjKiCXWR7fRIjW0uNEuv-B2uGH_WSED6vLp3hG%7c945rw6F74LVbJ6eAT9zP8gZcldxxDmJDEoL7DQNIsbjBwiRbRDCrQWQJeo3gbDKs801eim%7c1272676786; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: cookie_check=yes; expires=Tue, 28-Apr-2020 01:19:46 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navcmd=_notify-validate; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: navlns=0; expires=Fri, 26-Apr-2030 01:19:46 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: Apache=10.191.196.11.3000127267678614; path=/; expires=Thu, 17-Mar-04 18:51:29 GMT
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8


INVALID
0

cjmcc

Starting to get somewhere, made changes in photo_shop_paypal_ipn.php, case=return, $header_location.
Now I can return back to site, with thank you and email being sent confirm message.
still recieve IPN failed, getting better tho, LOL!! CRAZY WOO HOO WOO HOO!



cjmcc

Come on guys help me out here alittle, I'm gonna work on this baby all day, lets make this photo_shop thingy work!
WHO'S WITH ME! :o

phill104

Give people time to respond. We all do this in our spare time and have lives to lead etc. We are a small team so sometimes it can take a few days to get a response. Give the forums a search and you might find the answer you are looking for.
It is a mistake to think you can solve any major problems just with potatoes.

cjmcc

I'm cool, I work all week, only free after 5pm est, and 10:00pm comes around fast, thru week, but weekends are all mine, and breaks are mandatory thru out it.
It's so close to working, Just 1 little detail missing somewhere. I'll keep watching and checking thru all threads and waiting patiently. And sure to post any success here.
www.coloroasis.com
login:test
pass:user




Gene-2008

I have found that PayPal doesn't like this the fact that => gets changed to =>
It causes INVALID response....

One way to fix is to change photo_shop_checkout.php around line 171

Was:       photoshop_add_field($form_fields, 'item_name_'.$counter, "{$cd_price[4]} => Title: {$title} - ID: {$pid}");
Now:       photoshop_add_field($form_fields, 'item_name_'.$counter, "{$cd_price[4]} :: Title: {$title} - ID: {$pid}");

Gene


cjmcc

Quote from: Gene-2008 on May 01, 2010, 11:42:54 PM
I have found that PayPal doesn't like this the fact that => gets changed to =>
It causes INVALID response....

One way to fix is to change photo_shop_checkout.php around line 171

Was:       photoshop_add_field($form_fields, 'item_name_'.$counter, "{$cd_price[4]} => Title: {$title} - ID: {$pid}");
Now:       photoshop_add_field($form_fields, 'item_name_'.$counter, "{$cd_price[4]} :: Title: {$title} - ID: {$pid}");

Gene




Check this out recieved this after doing so.

Subject: Testing status: PendingPayPal IPN failed[Sat May1 18:3815EDT 2010]

Message:

Transaction is pending. Paypal will contact this script again when it's ready\n\n

The following data was received from PayPal:

from xcjmcc_1272589552_per@hotmail.com on

Details:

mc_gross: 1.50
invoice: 12
protection_eligibility: Ineligible
address_status: confirmed
item_number1:
payer_id: D284TQNLD594L
tax: 0.00
address_street: 1 Main St
payment_date: 15:37:59 May 01, 2010 PDT
payment_status: Pending
charset: windows-1252
address_zip: 95131
mc_shipping: 0.00
mc_handling: 0.00
first_name: Test
mc_fee: 0.34
address_country_code: US
address_name: Test User
notify_version: 2.9
custom:
payer_status: verified
business: xcjmcc_1272589447_biz@hotmail.com
address_country: United States
num_cart_items: 1
mc_handling1: 0.00
address_city: San Jose
verify_sign: ARY6jf8FfrSWgjGdcfLm2nHqvgqLACENRf5hrstHFbFllcyCwAaZqhvU
payer_email: xcjmcc_1272589552_per@hotmail.com
mc_shipping1: 0.00
tax1: 0.00
txn_id: 35R73344GL184164T
payment_type: instant
last_name: User
address_state: CA
item_name1: :: Title: No title - ID: 9
receiver_email: xcjmcc_1272589447_biz@hotmail.com
payment_fee: 0.34
quantity1: 1
receiver_id: VLK9YT6QEHMBS
pending_reason: paymentreview
txn_type: cart
mc_gross_1: 1.50
mc_currency: USD
residence_country: US
test_ipn: 1
transaction_subject: Shopping Cart
payment_gross: 1.50


cjmcc


cjmcc

You know what, I'm gonna go mess around with 1.5.3[RC] for awhile, till it gets boring or becomes a pain the rectum hole. And then just leave onsite what I ended up with, then hopefully and magically some day when I return to it,  it all work proper. So here I come 1.5.3[RC], what surpises do you have instore for me?  ???

evan1979

that didn't mark the item as paid to me.
any ideas?
\

Gene-2008

Quote from: evan1979 on June 26, 2010, 02:57:52 AM
that didn't mark the item as paid to me.
any ideas?
\
Any ideas on what?  You have to be more specific it you want help....

Gene

Joachim Müller