Support

Home Forums Event Espresso Premium Shopping Cart not Passing All Events to Paypal

Shopping Cart not Passing All Events to Paypal

Posted: March 14, 2013 at 10:55 am

Viewing 23 reply threads


Aladin Alaily

March 14, 2013 at 10:55 am

I am trying to set up a workshop page where the user can pick two separate workshops, add to cart and then pay in PayPal IPN. It all seems to be working fine. If I look at the cart, I see two events in the cart, but when I go to pay, only one item is charged.

What am I doing wrong? Here’s the page: https://www.glendon.yorku.ca/criticallink/workshop-registratio/

Thanks!
Sean


Josh

  • Support Staff

March 14, 2013 at 1:47 pm

Hi Sean,

Has anything been modified in PayPal gateway files or copied over to /wp-content/uploads/espresso/gateways?

Normally it will send each of the amounts to PayPal as line items. In this case it’s only sending one of them. I’d start with checking that there isn’t anything modified in the PayPal gateway files and making sure there are not files in the /uploads directory that might be overriding the core Event Espresso plugin.


Aladin Alaily

March 15, 2013 at 8:13 am

Hi Josh, thanks… nothing has changed…. and there is nothing in the uploads dir save the log files…


Chris Reynolds

  • Support Staff

March 18, 2013 at 2:07 pm

Aladin–

What version of Event Espresso do you have installed? No one has made any changes to the core Event Espresso plugin? It might be worth turning debugging on and seeing what the Event Espresso log files say.


Aladin Alaily

March 18, 2013 at 4:06 pm

I am pretty sure nobody’s made any changes. We moved the whole site to the live server a while back and I deleted and reinstalled the plugins after the move just in case… But, otherwise it should be the same…


Dean

March 20, 2013 at 5:35 am

Hi,

Your site is saying there is “something” in the template folder

<!--Event Espresso Template Files:

Dir:  .
Dir:  ..

-->

If it is empty then nothing will appear between those arrows. It might be nothing, but worth doublechecking

Also, do you have any event categories set for these events? If so how many each and do they share one or more categories?

Also, do you have the Volume Discount add on active?


Aladin Alaily

March 20, 2013 at 8:07 am

HI Dean — thanks for looking. Just to confirm, are we talking about:
wp-content/plugins/event-espresso/templates

And, are you saying that there should be NOTHING in the templates folder? So delete those files?

Thanks!


Aladin Alaily

March 20, 2013 at 8:19 am

Following up on the thread — I think maybe you are talking about the UPLOADS folder. wp-content/uploads/event-espresso/templates

I’m looking in Dreamweaver and it says nothing, but what about if I delete the folder entirely? Can I delete the uploads/event-espresso/templates folder to make sure — any problems doing that?

Cheers,
Sean


Aladin Alaily

March 20, 2013 at 8:21 am

RE: Categories — I do have categories set up. On this page, all the items are in the same category — and the page is a category page:
https://www.glendon.yorku.ca/criticallink/workshop-registratio/

I have other categories, too, but I don’t think the events on this page are in any other categories…


Aladin Alaily

March 20, 2013 at 8:22 am

Chris: I have the latest version of EE… I’ve submitted my info a few times already…


Chris Reynolds

  • Support Staff

March 20, 2013 at 12:19 pm

Can I delete the uploads/event-espresso/templates

Yes, you can delete (or rename) that directory.


Josh

  • Support Staff

March 20, 2013 at 12:42 pm

Hi Sean,

I checked and the FTP credentials that you sent Sidney are not working when I try them. Everything in the WordPress admin looks in order to me. There are two things that I can think of that may help:

1) You could try reinstalling Event Espresso with a fresh copy that you’ve downloaded from your account page.
2) I noticed that the entire site is loading as https. I’ve not seen this being an issue before, but it may be worth a try to change this and allow the site to load as http to see if it makes a difference.


Aladin Alaily

March 25, 2013 at 10:53 am

Hi Josh, my FTP creds were right but I forgot to include the Port #: 10022

What is the ideal way to delete and re-install…? Is deleting it from the WordPress interface acceptable or should I do it manually?

Regarding http and https — will that break any links if that gets changed..?

Thanks,
Sean


Sidney Harrell

March 25, 2013 at 11:27 am

Deleting through the WordPress interface is fine.
It shouldn’t break any links if you change from https to http.


Aladin Alaily

March 26, 2013 at 1:16 pm

Hi Sidney, Josh — I re-installed EE and I am still getting issue where it all works until it goes to payment (ie – shopping cart adds items and tallies the total properly — but then passes only one for payment)…

Any other thoughts?


Josh

  • Support Staff

March 27, 2013 at 9:05 am

Hi Aladin,

I was able to log in to the server and look through the error log. I’m seeing this error when there’s a multi-event registration:

WordPress database error Incorrect integer value: '' for column 'is_primary' at row 1 for query INSERT INTO `wp_events_attendee`

This isn’t something that I’ve seen before, and I’m checking with the dev team for possible causes.

Can you turn on WordPress debugging by editing the wp-config.php and try a test multi-event registration? You can turn WordPress debugging by changing the line near the bottom of wp-config.php from:

define('WP_DEBUG', false);

to

define('WP_DEBUG', true);

As an aside, the installation of Event Espresso looks in order, except that the custom files add-on was uploaded to the plugins directory. The correct location for the custom files add-on installation is /wp-content/uploads/espresso/. You can remove the custom files add-on from the plugins directory. If you’d like to use the custom files add-on, there are installation instructions you can follow here:

https://eventespresso.com/wiki/custom-files-addon/


Aladin Alaily

March 27, 2013 at 10:10 am

Hi Josh, Ok thanks — I changed debug to ‘true’ and tried a multi-registration… Let me know if you see something in the logs. Cheers, S


Josh

  • Support Staff

March 27, 2013 at 10:18 am

Hi Sean,

You’ll need to save the wp-config.php file after changing debug to true. It’s still set to false.


Aladin Alaily

March 27, 2013 at 10:48 am

I’m checking and I see it as true… not sure why it is showing false for you..


Josh

  • Support Staff

March 27, 2013 at 10:52 am

Maybe I’m not logged into the same server as you are. The wp-config.php file I’m looking at hasn’t been edited since 2/25/13.


Aladin Alaily

March 27, 2013 at 10:57 am

I just uploaded a file called wp-config-Josh.php do you see that when you refresh?


Aladin Alaily

March 27, 2013 at 11:02 am

huh — weird — looks like maybe I have a permissions issue. I can upload files, but when I try to over-write the config it doesn’t seem to stick…


Sidney Harrell

March 27, 2013 at 12:49 pm

It looks like the root of the issues is that your server is Windows based. The error message that Josh found should never occur, because the field that it points to, “is_primary” defaults to 0. I double checked the field structure in your database, and it is correct. While I was there, I looked for the version of MySql that you are running, and it is MySQL version: 5.0.45-community-nt. I don’t know if upgrading to a newer version would help (MySQL Community Server 5.6.10 is available) but I know that moving to a linux based host would definitely solve the problem.


Aladin Alaily

March 28, 2013 at 7:47 am

HI Sidney, thanks for looking into this… Not exactly the news I want to hear, because it’s off a domain that can’t easily be changed (being a sub-dir of the main campus server)… Humn…. So tough when working on a client’s server instead of one I have control over… What do do what to do…

Cheers,
Sean

Viewing 23 reply threads

The support post ‘Shopping Cart not Passing All Events to Paypal’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso