Forums / PayPal Express Checkout support / No Payment and Wrong Payment Method Error

No Payment and Wrong Payment Method Error

Locked

Started by olistead on 29 Oct 2007, 10:35 PM · Views: 17,869

Results 1 to 20 of 52
This thread is locked. New replies are disabled.
29 Oct 2007, 10:35 PM
#1
olistead avatar

olistead

New Zenner

Join Date:
Oct 2007
Posts:
13
Plugin Contributions:
0

No Payment and Wrong Payment Method Error

I've been tearing my hair out over this. I have a Zen Cart set up (https://www.kktoysuk.co.uk) which has two payment methods: cheque/money order and paypal express.

When I put through a Paypal Express payment and sign into my site, it all goes through okay. When I try it without a site account (either with a Paypal one or just straight credit card), it places the order but declares it as a cheque/money order and doesn't charge Paypal at all!

I simply don't know how to fix this, so any help would be appreciate. I shall post some log files shortly.

Many thanks.

29 Oct 2007, 10:51 PM
#2
olistead avatar

olistead

New Zenner

Join Date:
Oct 2007
Posts:
13
Plugin Contributions:
0

Re: No Payment and Wrong Payment Method Error

I know that double posting is dreadful, but here are the log files.

29 Oct 2007, 11:32 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: No Payment and Wrong Payment Method Error

olistead:

I know that double posting is dreadful, but here are the log files.

Repeat-posting of the same thing in multiple places is dreadful.
Replying to your own post with additional information, as you've done, is admirable and encouraged.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

29 Oct 2007, 11:32 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: No Payment and Wrong Payment Method Error

olistead:

When I try it without a site account (either with a Paypal one or just straight credit card), it places the order but declares it as a cheque/money order and doesn't charge Paypal at all!I'm not sure I understand you fully.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Oct 2007, 9:14 AM
#5
olistead avatar

olistead

New Zenner

Join Date:
Oct 2007
Posts:
13
Plugin Contributions:
0

Re: No Payment and Wrong Payment Method Error

Sorry to be unclear. We want to use Paypal Express in such a way that the client can choose whether or not they want to bother signing up to our site. Unfortunately, in my tests so far, Paypal Express only works properly once an account for my site exists.

For example: if a customer makes a purchase without signing up to my site, that purchase doesn't work. Any purchase after that (which as after an account has been created for them automatically) does work, as does any purchase made if they register on my site as normal.

This is the case whether or not the customer chooses to pay with their Paypal account or just through a direct credit card payment.

Is that clearer?

30 Oct 2007, 3:06 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: No Payment and Wrong Payment Method Error

Yes, that's clearer.

The problem is I've never seen that happen.

What's different on your site from a fresh install of v1.3.7.1 ?

  • addons/contributions
  • customizations made
  • template being used
    etc

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Oct 2007, 6:48 PM
#7
olistead avatar

olistead

New Zenner

Join Date:
Oct 2007
Posts:
13
Plugin Contributions:
0

Re: No Payment and Wrong Payment Method Error

The only addon is the Paypal Express module. There are some custom template files, but these are only really the header, the footer and CSS. What is likely to affect it?

30 Oct 2007, 8:11 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: No Payment and Wrong Payment Method Error

The express checkout module itself does the account-creation when the customer returns from PayPal. I don't recall any bugfixes even being needed for that part of the code; however, if you haven't already got v1.3.7.1 installed or if you're using v1.3.7 without the latest patch, you can add it from here:
http://www.zen-cart.com/forum/showthread.php?t=56216

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

30 Oct 2007, 9:55 PM
#9
olistead avatar

olistead

New Zenner

Join Date:
Oct 2007
Posts:
13
Plugin Contributions:
0

Re: No Payment and Wrong Payment Method Error

The express checkout module itself does the account-creation when the customer returns from PayPal. I don't recall any bugfixes even being needed for that part of the code

It isn't actually the account creation that's the issue - it's just that if there isn't a local account, the payment is marked as 'check' and there is nothing paid through Paypal. This happens even if automatic account creation is off.

I'm not sure what version of the module I have, but I'll try installing the latest and see what happens.

31 Oct 2007, 2:43 PM
#10
kkoysuk avatar

kkoysuk

New Zenner

Join Date:
Oct 2007
Posts:
2
Plugin Contributions:
0

Re: No Payment and Wrong Payment Method Error

olistead:

It isn't actually the account creation that's the issue - it's just that if there isn't a local account, the payment is marked as 'check' and there is nothing paid through Paypal. This happens even if automatic account creation is off.

I'm not sure what version of the module I have, but I'll try installing the latest and see what happens.

Hi I am the owner of the site Oli is working on and I think we need to clarify the problem with the Paypal express.

Here is the situation, a customer puts an item or items into the shopping cart, goes to checkout and uses the paypal express check out button, and does not create an account, they are taken to the paypal web site, chose to pay via cre3dit/debit card with out having a paypal account.
The details are all taken and the buyer is returned back to our site and they complete the checkout with shipping etc.
They get sent a completed order email and we get a pending order on Zen Cart.

The problem is when we look at this pending order it says payment method is cheque/gift certificate, and the buyers paypal account has not be debited by any amount.

The paypal account is business status and been used for over 5 years. We have tried numerous buyers and different types of cards for different types of amounts and still get the same error.

We would like a customer to put a product in the shopping cart, chose paypal express checkout, put in a credit/debit card details and create an order, is this possible?

I don't think Oli explained it in enough detail to exactly what is going wrong. Please help as we are desperate to get this sorted, the site is now live and we are unable to do any promotions with this payment method not functioning. Many thanks Chris

31 Oct 2007, 9:55 PM
#11
olistead avatar

olistead

New Zenner

Join Date:
Oct 2007
Posts:
13
Plugin Contributions:
0

Re: No Payment and Wrong Payment Method Error

Thanks Chris.

I have been testing further. I uninstalled all payment modules and patched the site up to make sure it is up to the latest version. I then installed only the Paypal Express module and tried it out. The payment method showed up correctly in the confirmation email this time, but no payment has been taken from Paypal. I then reinstalled the cheque/money order module and the old problem returned!

31 Oct 2007, 9:56 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: No Payment and Wrong Payment Method Error

What are the differences between your site and a fresh installation of Zen Cart?

What geographic region are you in?
What country is your PayPal account domiciled in?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

1 Nov 2007, 6:10 PM
#13
olistead avatar

olistead

New Zenner

Join Date:
Oct 2007
Posts:
13
Plugin Contributions:
0

Re: No Payment and Wrong Payment Method Error

There are very many difference but they are mostly small changes to various files to move out of table layouts and to insert images and buttons in different places.

The geographic region is the UK and I assume that the Paypal account is domiciled there, but Chris will have to verify.

2 Nov 2007, 5:15 AM
#14
bifficus avatar

bifficus

New Zenner

Join Date:
Sep 2007
Location:
Vancouver, CA
Posts:
87
Plugin Contributions:
0

Re: No Payment and Wrong Payment Method Error

olistead:

Thanks Chris.

I have been testing further. I uninstalled all payment modules and patched the site up to make sure it is up to the latest version. I then installed only the Paypal Express module and tried it out. The payment method showed up correctly in the confirmation email this time, but no payment has been taken from Paypal. I then reinstalled the cheque/money order module and the old problem returned!

I have the exact same problem. Just got my first order today, customer tried to pay with Paypal. To his eyes, order was completed properly, we received all the correct emails, but the paypal account was not debited.

In our case, the customer already had an existing Paypal account, and did create an account on our site. The issue is that the payment was never applied via paypal.

Here is what I think happened: somebody forgot to connect an ethernet cable and all my electronic money is draining out on the ground. Ok, maybe not, hehe... but I hope it at least gets a laugh! :frusty:

One other thing: A step I didn't do (before this order) was enable the Instant Payment Notification. This was an oversite on my part, but after reading it, I am not sure that this would cause the error. Perhaps someone else can confirm?

Thanks,

PS: Got my first order! I know the guy, but it still counts (once I get Paypal working anyway, haha)

Todd

2 Nov 2007, 6:16 AM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: No Payment and Wrong Payment Method Error

I just set up a fresh v1.3.7.1 install and selected to include the demo products.
Then I turned on PayPal Express Checkout in the admin and set it up with my API credentials.
I left the "CC" and "Check/Money Order" options enabled.

Then I added a product to my cart.
Clicked on Express Checkout.
Went to the PayPal site.
Did not log in to PayPal. Instead, clicked "continue checkout" so I could enter CC information instead.
I filled in CC payment details.
Clicked on Review Payment
Came back to Zen Cart.
On the Checkout-Payment page, I just clicked Continue.
On the Checkout Confirmation page, I just clicked Continue. (I did note that the Payment Method shown under the Billing Address did show "PayPal")
The order completed.
I went to My Account and clicked on the order. It shows as Processing, and shows "PayPal Express Checkout" and the various transaction details.

What step am I missing?
What's different between my test site and yours?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Nov 2007, 6:54 AM
#16
bifficus avatar

bifficus

New Zenner

Join Date:
Sep 2007
Location:
Vancouver, CA
Posts:
87
Plugin Contributions:
0

Re: No Payment and Wrong Payment Method Error

DrByte:

I just set up a fresh v1.3.7.1 install and selected to include the demo products.
Then I turned on PayPal Express Checkout in the admin and set it up with my API credentials.
I left the "CC" and "Check/Money Order" options enabled.

What step am I missing?
What's different between my test site and yours?

Ok, I did some more rearranging (didn't have cURL enabled, fixed that), then I also disabled a lot of the "Makes it more Express" options in the Paypal Express Module.

I also did something a little different: Rather than click on the paypal express, I went through and tried to complete the order that way, and this time the transaction was refused with this error message:

10413 Transaction refused because of an invalid argument. See additional error messages for details. - The totals of the cart item amounts do not match order amounts.

I am guessing that this was also causing my other problems where the order would appear to complete in paypal express, but then never get submitted.

I will browse through the logs on the 10413 error message... odds are I will find the answer quickly, but if you have a pointer, love to hear it!

Thanks,

2 Nov 2007, 7:08 AM
#17
bifficus avatar

bifficus

New Zenner

Join Date:
Sep 2007
Location:
Vancouver, CA
Posts:
87
Plugin Contributions:
0

Re: No Payment and Wrong Payment Method Error

bifficus:

Ok, I did some more rearranging (didn't have cURL enabled, fixed that), then I also disabled a lot of the "Makes it more Express" options in the Paypal Express Module.

....

I will browse through the logs on the 10413 error message... odds are I will find the answer quickly, but if you have a pointer, love to hear it!

Thanks,

Hi,

I fixed it... I changed two things. I updated my exchange rates, but probably more importantly, I noticed that the default currency was set USD in the exchange rate section, but the default currency of my store (and location) is supposed to be Canadian dollars. I switched the default, which then changed all my prices unfortunately, so I will have to fix that... but the order worked!

Thanks guys for the help.

2 Nov 2007, 7:35 AM
#18
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: No Payment and Wrong Payment Method Error

bifficus:

but the default currency of my store (and location) is supposed to be Canadian dollars. I switched the default, which then changed all my prices unfortunately, so I will have to fix that... but the order worked!When you change your default currency, you should also set it to 1.00000 for the value. That way your prices won't all be busted.

Then also set your default lang currency in your english.php file to match your default currency.

https://www.zen-cart.com/tutorials/index.php?article=214
https://www.zen-cart.com/tutorials/index.php?article=96
https://www.zen-cart.com/tutorials/index.php?article=79

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

2 Nov 2007, 7:36 AM
#19
bifficus avatar

bifficus

New Zenner

Join Date:
Sep 2007
Location:
Vancouver, CA
Posts:
87
Plugin Contributions:
0

Re: No Payment and Wrong Payment Method Error

Ok, as usual I write first and then finish testing later. Good thing I never sought a career as a test engineer. This is what happens when you let sales guys muck with the code.

Anyway, changing the default currency successfuly submitted an order to Paypal, however, it was for about 10% less than what the price was supposed to be. I believe I have seen some other threads on that, so will seach and close the loop after.

2 Nov 2007, 8:06 AM
#20
bifficus avatar

bifficus

New Zenner

Join Date:
Sep 2007
Location:
Vancouver, CA
Posts:
87
Plugin Contributions:
0

Re: No Payment and Wrong Payment Method Error

DrByte:

When you change your default currency, you should also set it to 1.00000 for the value. That way your prices won't all be busted.

Then also set your default lang currency in your english.php file to match your default currency.

https://www.zen-cart.com/tutorials/index.php?article=214
https://www.zen-cart.com/tutorials/index.php?article=96
https://www.zen-cart.com/tutorials/index.php?article=79

Thanks DrByte! Yer fast! You were right, that did the trick. I changed to CAD in my english.php. And thanks for the 1.0000 tip... saves me some work!

For anyone else that reads this later, this wiki was also helpful: http://www.zen-cart.com/wiki/index.php/PayPal

:clap: