Post by tchemis » Tue Aug 21, 2007 9:34 am

Hello, Love OpenCart Thanks!,

I am having an issue with paypal while attempting to complete an order.

When paypal redirects back to the website after payment I am getting the following error, and the order is not placed.


Warning: Missing argument 1 for Payment::process(), called in /home/content/s/f/s/[EDITED]/html/store/library/cart/payment.php on line 70 and defined in /home/content/s/f/s/[EDITED]/html/store/library/cart/payment.php on line 68

Notice: Undefined variable: key in /home/content/s/f/s/[EDITED]/html/store/library/cart/payment.php on line 69

Notice: Undefined index: in /home/content/s/f/s/[EDITED]/html/store/library/cart/payment.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/f/s/[EDITED]/html/store/library/cart/payment.php:68) in /home/content/s/f/s/[EDITED]/html/store/library/environment/response.php on line 22


The URL paypal is redirecting to is


http://[EDITED]/store/index.php?controller=checkout_process

Is this URL correct? If not what would be the correct redirect url?

----
Note: I edited sections with [EDITED]
Last edited by tchemis on Tue Aug 21, 2007 5:10 pm, edited 1 time in total.

Active Member

Posts

Joined
Tue Aug 21, 2007 9:23 am

Post by Daniel » Tue Aug 21, 2007 7:41 pm

Which version of opencart are you using?

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by tchemis » Wed Aug 22, 2007 2:51 am

Hello,

I am using the latest version v0.7.3.1

I also received the following error when attempting to do a COD order


Notice: Undefined index: product_id in /home/content/s/f/s/[EDITED]/html/store/library/cart/order.php on line 81

Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/f/s/[EDITED]/html/store/library/cart/order.php:81) in /home/content/s/f/s/[EDITED]/html/store/library/environment/response.php on line 22

I am also testing on a different host to see if it might be a problem with my godaddy hosting, as I have had problems before, but not because if headers already sent, but with mod_rewrite.
Last edited by tchemis on Wed Aug 22, 2007 4:02 am, edited 1 time in total.

Active Member

Posts

Joined
Tue Aug 21, 2007 9:23 am

Post by Daniel » Wed Aug 22, 2007 5:08 am

This is defintly a type of coding bug.

I will look into it and release another update.

The only problem is I have started work on making opencart EU compiant so it might be a day or 2 for the next release.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by luvz2drv » Wed Aug 22, 2007 7:32 am

are we going to start releasing changed files only (upgrade pack and a new install)

would be very helpfull

luvz2drv


Post by tchemis » Wed Aug 22, 2007 8:27 am

Hello,

I have managed to successfully place a COD order with no errors on a separate web hosting account (Servage), I am going to assume this is a Godaddy issue, any thoughts or ideas about what the problem could be? So I can contact them as this is where the main website is currently/will be hosted.

Anything I can send you guys to attempt to narrow down the problem? Thanks in advance for the help.

If it helps please view here: http://help.godaddy.com/article.php?article_id=1654 Godaddy's Help section regarding the issue.
Last edited by tchemis on Wed Aug 22, 2007 8:43 am, edited 1 time in total.

Active Member

Posts

Joined
Tue Aug 21, 2007 9:23 am

Post by luvz2drv » Wed Aug 22, 2007 8:38 am

I am just wonderingn what the server logs show to help track that one...

luvz2drv


Post by tchemis » Wed Aug 22, 2007 8:45 am

Hello,

The Godaddy help section states, the problem might be the PHP scripting printing to the browser without first sending the headers. I have included the URL to there help file in my previous post.

Active Member

Posts

Joined
Tue Aug 21, 2007 9:23 am

Post by ogun » Wed Aug 22, 2007 8:49 am

-=luvz2drv=- wrote: are we going to start releasing changed files only (upgrade pack and a new install)

would be very helpfull
Some sort of version control would be great, maybe reviving the sourceforge project rather than the googlecode one.

Active Member

Posts

Joined
Tue Aug 14, 2007 6:04 am

Post by Daniel » Wed Aug 22, 2007 4:07 pm

The error relating to headers is a common problem when ever an error message is displayed before headers have been sent. That is not actually the problem.

The problem is there is a missing product_id on line 81.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by luvz2drv » Fri Aug 24, 2007 1:36 pm

when I try a paypal transaction I get

Code: Select all

Notice: Undefined index: in /home/{edit}/public_html/democart/library/cart/payment.php on line 69

luvz2drv


Post by luvz2drv » Fri Aug 24, 2007 1:45 pm

also just noticed that if you have in the admin selected for no shipping and proguct is no shipping... that paypal still shows there item will be shipped to address....

luvz2drv


Post by Daniel » Fri Aug 24, 2007 4:27 pm

-=luvz2drv=- wrote: also just noticed that if you have in the admin selected for no shipping and proguct is no shipping... that paypal still shows there item will be shipped to address....

I need to update the paypal module to have more features.

The next release will have coupon discount system.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by luvz2drv » Fri Aug 24, 2007 4:30 pm

maybe subscriptions?

luvz2drv


Post by Daniel » Fri Aug 24, 2007 8:48 pm

-=luvz2drv=- wrote: maybe subscriptions?
I havn't got as clue about paypal subscriptions.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by adias » Wed Aug 29, 2007 2:07 am

Hello everybody! My name is Américo Dias and I'm creating a site using opencart. This is a great software and congratulations to all the contributors.

I have exactly the same problem discribed above:
Warning: Missing argument 1 for Payment::process(), called in /home/adias/public_html/artilavores/library/cart/payment.php on line 70 and defined in /home/adias/public_html/artilavores/library/cart/payment.php on line 68

Notice: Undefined variable: key in /home/adias/public_html/artilavores/library/cart/payment.php on line 69

Notice: Undefined index: in /home/adias/public_html/artilavores/library/cart/payment.php on line 69

Warning: Cannot modify header information - headers already sent by (output started at /home/adias/public_html/artilavores/library/cart/payment.php:68) in /home/adias/public_html/artilavores/library/environment/response.php on line 22
This happends after paying using Paypal. And I'm hosted at http://www.webhostingbuzz.com/

Regards,
Américo Dias

Newbie

Posts

Joined
Wed Aug 29, 2007 2:02 am

Post by Daniel » Wed Aug 29, 2007 4:00 am

I'm working on this problem now and trying to get another release ready.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by adias » Wed Aug 29, 2007 10:13 am

BTW, even when I choose the "Cash On Delivery" when I finish the Checkout i get this messages:
Notice: Undefined index: product_id in /home/adias/public_html/artilavores/library/cart/order.php on line 81

Warning: Cannot modify header information - headers already sent by (output started at /home/adias/public_html/artilavores/library/cart/order.php:81) in /home/adias/public_html/artilavores/library/environment/response.php on line 22
A can't sell anything this way... help please. Attached my server info.

Regards,
Américo

Newbie

Posts

Joined
Wed Aug 29, 2007 2:02 am

Post by Daniel » Wed Aug 29, 2007 4:14 pm

I have found the problem!

Please expect a fix release tonight.

If you need the cart working now switch of stock being subtacted in the admin.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by Tokai » Wed Aug 29, 2007 4:54 pm

Cooo you are a clever sausage! I wait with baited breath...

Spirit Mind Body UK Directory | iPyramidia Holistic Web Design


New member

Posts

Joined
Tue Aug 14, 2007 4:55 pm

Who is online

Users browsing this forum: No registered users and 4 guests