Latest News:
v1.2.1 Release Date is Sunday August 31st
on August 27, 2008, 08:52:45 PM [
View
]
Welcome,
Guest
. Please
login
or
register
.
August 28, 2008, 08:58:35 AM
Show Unread Posts
|
View Replies to Your Posts
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
cpCommerce Support
|
Version 1.x.x
|
Bug Reports
|
Unresolved
| Topic:
Purchase not recorded when using paypal
0 Members and 1 Guest are viewing this topic.
Pages:
[
1
]
Author
Topic: Purchase not recorded when using paypal (Read 942 times)
oracle3410
Junior Member
Offline
Posts: 3
Purchase not recorded when using paypal
«
on:
August 14, 2007, 02:47:50 PM »
When using paypal, my purchases are not stored in the database, so I have no clue what to send my customers. If I choose offline processing, everything is fine, but when I do paypal, I get no record on my end, other than the e-mail saying that paypal has received cash. No inventory update, nothing..
Report to moderator
Logged
softnow
cpModerators
Scholarly Member
Offline
Posts: 1812
Re: Purchase not recorded when using paypal
«
Reply #1 on:
August 14, 2007, 09:37:43 PM »
Are you sure you have setup paypal correctly in cpcommerce? As no one else has had this problem
Report to moderator
Logged
Jenius
Junior Member
Offline
Posts: 29
Re: Purchase not recorded when using paypal
«
Reply #2 on:
August 15, 2007, 08:26:11 AM »
Actually, I think everyone is having this problem (or at least I am as well). This was the reason I added product name and id number to the Paypal payment method (it still doesn't show purchases in the database, but at least the email that says "You've Got Cash!" from paypal will tell you the name and id).
You can see the code here.
Or just download the file here.
The above fix also sends tax, shipping and handling information to Paypal (without this fix it just sends the grand total).
«
Last Edit: August 15, 2007, 08:56:55 AM by Jenius
»
Report to moderator
Logged
oracle3410
Junior Member
Offline
Posts: 3
Re: Purchase not recorded when using paypal
«
Reply #3 on:
August 15, 2007, 01:28:26 PM »
I've setup paypal correctly, yes.
Users get directed back to my site, saying their order was completed and is being processed, but nothing on the cpCommerce side indicates a sale has been made.
Report to moderator
Logged
kaos
Junior Member
Offline
Posts: 2
Re: Purchase not recorded when using paypal
«
Reply #4 on:
August 17, 2007, 10:34:16 AM »
I am getting the same issue. Paypal work correctly, however no feedback is giving to the site stating if the process was completed successifully.
Report to moderator
Logged
kaos
Junior Member
Offline
Posts: 2
Re: Purchase not recorded when using paypal
«
Reply #5 on:
August 17, 2007, 12:42:32 PM »
Found the bug.
File Change in "/payment/paypal/response.php"
$sql['temporary'] = "SELECT `cart`, `checkout` FROM `" . $db_chooser->MethodsTemporary() . "` " .
"where `id_temporary`='{$_GET['cpTempID']}' OR `id_temporary`='{$_POST['custom']}'";
Lines 8 -9, you need to add the ' ' between {$_GET['cpTempID']} and '{$_POST['custom']}'.
Its causing a mysql error.
Hope it helps, works for me..
Report to moderator
Logged
jongibbins
Junior Member
Offline
Posts: 3
Re: Purchase not recorded when using paypal
«
Reply #6 on:
February 15, 2008, 08:39:02 AM »
Sorry to dig up an old thread. Where exactly to you mean to put these ' ' marks? I am unsure where you mean.
Thanks
Jon
Report to moderator
Logged
Jenius
Junior Member
Offline
Posts: 29
Re: Purchase not recorded when using paypal
«
Reply #7 on:
February 15, 2008, 02:32:58 PM »
If you've applied the
cpCommerce changes patch fix zip
, this change is already in it and there's no need to add anything to the code. But even though this change is already in there, I'm still not sure if it actually fixed the problem.
Edit: This is the exact same problem that is also disscussed
at this topic
.
«
Last Edit: February 22, 2008, 05:24:46 AM by Jenius
»
Report to moderator
Logged
Pages:
[
1
]
cpCommerce Support
|
Version 1.x.x
|
Bug Reports
|
Unresolved
| Topic:
Purchase not recorded when using paypal
Jump to:
Please select a destination:
-----------------------------
Discussion
-----------------------------
=> Announcements
=> Contests
=> General Chat
=> Showcase
-----------------------------
Forum Software
-----------------------------
=> General Comments
=> Forum Bugs
-----------------------------
Version 1.x.x
-----------------------------
=> Questions
===> Installation
===> Editing of Templates and Modules
===> Payment Methods
===> Customizing
===> Odd Warning/Error Messages
=> Bug Reports
===> Unresolved
===> Resolved
===> Resolved In Next Release
=> Suggestions
===> Requests
===> Implemented
===> Not Implemented
=> Contributions
===> Submissions
===> Addons
===> Language Packs
===> Modules
===> Templates
=> Paid Customizations
===> Request a Paid Customization
===> Completed Paid Customizations
-----------------------------
Version 0.07
-----------------------------
=> Questions
===> Installation
===> Editing of Templates and Modules
===> Payment Methods
===> Customizing
===> Odd Warning/Error Messages
=> Bug Reports
===> Unresolved
===> Resolved
=> Suggestions
===> Requests
===> Implemented
===> Not Implemented
=> Contributions
===> Submissions
===> Addons
===> Language Packs
===> Modules
===> Templates
=> Paid Customizations
===> Request a Paid Customization
===> Completed Paid Customizations
-----------------------------
Version 0.06 (Archive Only)
-----------------------------
=> Questions
===> Installation
===> Editing of Templates and Modules
===> Payment Methods
===> Customizing
===> Odd Warning/Error Messages
=> Bug Reports
===> Unresolved
===> Resolved
=> Suggestions
===> Requests
===> Implemented
=> Contributions
===> Submissions
===> Addons
===> Language Packs
===> Modules
===> Templates
Related Topics
Subject
Started by
Replies
Views
Last post
ipn test (script not post back)
ryness
2
758
January 25, 2006, 06:52:58 PM
by
softnow
can't modify description / paypal issues
Tony_1
7
573
February 02, 2008, 10:00:35 AM
by
Jenius
PayPal - Is it fully working now?
WEZTEC
4
53
August 22, 2008, 03:02:33 PM
by
WEZTEC
PayPal Fix Test !!!
WEZTEC
7
59
August 27, 2008, 08:47:21 PM
by
cpradio
cpCommerce Support | Powered by
SMF 1.1
.
© 2004,
Simple Machines LLC
. All Rights Reserved.