HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


eCommerce for Guests

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#59562 (In Topic #12967)
Avatar

Community saint

Just checking to see if the eCommerce was supposed to work for Guests of not?

I set up a test item for $1.00 then logged out and tried to purchase the item. The shopping system showed up ok, I was able to select the item and then was redirected to PayPal. All was good to this point, I filled in my credit card info which was processed then when I clicked on the final link to go back to the site I got the following error:

An error has occurred

PHP NOTICE [1024] A transaction for the wrong IPN e-mail went through in /home/successm/public_html/sources/ecommerce.php on line 512 (version: 4.3.2, PHP version: 5.2.12, URL: /site/index.php?page=shopping&type=finish&from=paypal)

Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File'/home/successm/public_html/sources/failure.php'
Line'557'
Function'get_html_trace'
Args

File'/home/successm/public_html/sources/global2.php'
Line'862'
Function'_fatal_exit'
Args'PHP NOTICE [1024] A transaction for the wrong IPN e-mail went through in /home/successm/public_html/sources/ecommerce.php on line 512'


File'/home/successm/public_html/sources/failure.php'
Line'156'
Function'fatal_exit'
Args'PHP NOTICE [1024] A transaction for the wrong IPN e-mail went through in /home/successm/public_html/sources/ecommerce.php on line 512'

false


File'/home/successm/public_html/sources/global2.php'
Line'725'
Function'_ocportal_error_handler'
Args'notice'

1024

'A transaction for the wrong IPN e-mail went through'

'/home/successm/public_html/sources/ecommerce.php'

512


Function'ocportal_error_handler'
Args1024

'A transaction for the wrong IPN e-mail went through'

'/home/successm/public_html/sources/ecommerce.php'

512

array ( 'error' => 'A transaction for the wrong IPN e-mail went through', 'dont_trigger' => false, )


File'/home/successm/public_html/sources/ecommerce.php'
Line'512'
Function'trigger_error'
Args'A transaction for the wrong IPN e-mail went through'

1024


File'/home/successm/public_html/sources/hooks/systems/ecommerce_via/paypal.php'
Line'206'
Function'my_exit'
Args'A transaction for the wrong IPN e-mail went through'


File'/home/successm/public_html/sources/ecommerce.php'
Line'311'
Function'handle_transaction'
Class'Hook_paypal'
ObjectHook_paypal::__set_state(array( ))
Type'->'
Args

File'/home/successm/public_html/site/pages/modules/shopping.php'
Line'518'
Function'handle_transaction_script'
Args

File'/home/successm/public_html/site/pages/modules/shopping.php'
Line'192'
Function'finish'
Class'Module_shopping'
ObjectModule_shopping::__set_state(array( ))
Type'->'
Args

File'/home/successm/public_html/sources/zones.php'
Line'330'
Function'run'
Class'Module_shopping'
ObjectModule_shopping::__set_state(array( ))
Type'->'
Args

File'/home/successm/public_html/sources/site.php'
Line'935'
Function'load_module_page'
Args'site/pages/modules/shopping.php'

'shopping'


File'/home/successm/public_html/sources/site.php'
Line'727'
Function'request_page'
Args'shopping'

true


File'/home/successm/public_html/site/index.php'
Line'51'
Function'do_site'
Args

If this was not meant to be used by guests please let me know and I will set the permissions to hide it from them, if it was for them then there is a bug.

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
Posted
Rating:
#59584
Avatar

Hi,

Guest shopping should work, and I think this error relates to something else. Is the IPN email address you put in definitely the main one for the PayPal account? PayPal will call back ocPortal to say where a payment was sent to, and it will do so stating the accounts email address - I know you can setup sub-accounts in PayPal but PayPal still tells ocPortal the payment went to the main account, so that's what needs to be configured in else ocPortal gets scared a hacker is sending money to a false account.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#59593
Avatar

Community saint

Thanks Chris, I will switch the email I am using to the main account, just hope I don't need to use my paypal on another site. May have to get a whole new PayPal account in that case. Will let you know if that fixes the problem when I get back to my computer to test it.

Rick Henson

OCP 4.3.2 & 5.0.1
PHP 5.2.5
MySQL 5.0.51a
FireFox 3.6.8
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: