-
Help? (Invalid Parameter)?
Ok, I did an order from my website for a $1.00 and It took me to the paypal website and then it brought me back to my site. I go to confirm order and I get this...
Step 1 of 3 - Delivery Information
We were not able to process your order. Please try again, select an alternate payment method, or contact the store owner for assistance. (Invalid Parameter)
Shipping Information:
Mrs No one
12345 SE 678th Street
Springfield, MO 65000
United States
Your order will be shipped to the address at the left or you may change the shipping address by clicking the Change Address button.
Shipping Method:
Please select the preferred shipping method to use on this order.
Flat Rate $5.00Best Way
Per Item $2.50Best Way
Store Pickup $0.00Walk In
Special Instructions or Comments About Your Order Continue to Step 2
- choose your payment method.
-
Re: Help? (Invalid Parameter)?
I'm having the same problem and so is a friend who uses Zen too. But I've been getting orders tonight (and including earlier today) just fine.
Have you successfully received orders before?
-
Re: Help? (Invalid Parameter)?
The website is new and I just added the payment part of the site. I can't seem to get a simple test $1.00 order to go through. I just found the patch a little bit ago so I'll install that and see if it helps.
-
Re: Help? (Invalid Parameter)?
Installing the patch made no change. Still the same problem. Any HELP! would be appreciated.
-
Re: Help? (Invalid Parameter)?
I am also having the same problem... I went through the logs I had it send me and from what I can tell it checks all orders that my Test account has made and its past address's... Not sure if that effects anything.... What patch are you talking about also
-
Re: Help? (Invalid Parameter)?
okay I installed the patch and it still doesnt seem to want to work
-
Re: Help? (Invalid Parameter)?
I am receivin the same error message.
-
Re: Help? (Invalid Parameter)?
I re-installed Paypal IPN and it is working. (I am still not receiving copies of orders for echecks, so I cannot use IPN)
Who is your hosting company?
Bluehost here.
-
Re: Help? (Invalid Parameter)?
I wanted to clarify my previous post. I installed PayPal IPN to make sure that the issue wasn't with PayPal (since so many of us are having this issue and I know that myself and one other person had Express working properly before)
PayPal IPN worked for the transaction, but I am still receiving the same error message when I try to check out with PayPal Express.
I checked the PayPal status blog (posted at the top of this forum) and there have been no updates since Feb 8, so I do not believe that is the cause of the issue.
I removed PayPal Express and Intalled it again, reentering all of my API information, but I am still getting the same error message.
PayPal Express isn't working at all and PayPal IPN doesn't work for EChecks! HELP!!!!
-
Re: Help? (Invalid Parameter)?
Please stop multiple posting. It makes it very difficult to follow what has and hasn't transpired. Pick a thread and stay there. Thanks.
-
Re: Help? (Invalid Parameter)?
I called my hosting company to make sure that they hadn't done any upgrades that would have caused problems. So it doesn't appear that it is from the hosting company.
I am not sure why it would have quit working when no changes have been made.
The only thing I have done on my site is add product since it last worked properly.
-
Re: Help? (Invalid Parameter)?
Quote:
I called my hosting company to make sure that they hadn't done any upgrades that would have caused problems. So it doesn't appear that it is from the hosting company.
I am not sure why it would have quit working when no changes have been made.
The only thing I have done on my site is add product since it last worked properly.
Same story here--everything was working. I couldn't make IPN work for echecks so I switched to paypal express. I used it would problems for a few days and then it suddenly stopped working. I've made no changes to the site-I've only added additional merchandise.
-
Re: Help? (Invalid Parameter)?
Quote:
Originally Posted by
Kim
Please stop multiple posting. It makes it very difficult to follow what has and hasn't transpired. Pick a thread and stay there. Thanks.
I have another thread regarding PayPal IPN (I have no preference to which PayPal module I use, but neither of them are working for me)
I apologize for the cross post on the other thread.
I would love help with figuring out the PayPal Express issue and will keep my comments to this thread.
The error message does not occur until you have completed the transaction.
If you would like to view the error message I have created this product (that only costs a penny) and you can choose Walk In from the shipping selection so that no shipping is charged)
-
Re: Help? (Invalid Parameter)?
I have spent the entire day trying to solve this mystery and am no closer to an answer than I was this morning.
Here is what I have tried (so that hopefully someone more experienced than myself can use this to problem solve)
***
I reinstalled the patch (no change)
I downloaded a fresh copy of 1.3.7, installed the patch. I received the same error message.
I canceled my API Signature and requested a new one. Then updated the appropriate information in the payment module.
***
This info, in addition to the fact that I made no changes to the code prior to it deciding not to work, makes me think that the issue lies either with PayPal or my Hosting site.
The original poster on this thread does not share the hosting site with me, which doesn't rule out the server issue, but makes it less likely than the one constant, which is PayPal
But if the issue was with PayPal I am assuming that there would be more reports of errors from other Zenners using PayPal Express.
I have run out of ideas...
If anyone has any suggestions on what things I should be asking my Hosting Company to make sure it isn't their issue I would appreciate it.
They have already verified that they havenot made any upgrades or changes to the server in the last 24 hours (when the problem started) and that the cURL is enabled.
-
Re: Help? (Invalid Parameter)?
I have a call in to paypal. I explained to him that we all have different severs and none of us changed our sites so the only common denominator is them. I gave him my URL and mentioned to him that there were several others and gave him this URL too (to the ZC Forums) and he is researching the problem and is *supposed* to call me back. We'll see. I'll post if I get any updates
-
Re: Help? (Invalid Parameter)?
Quote:
Originally Posted by
CafePrima
I have a call in to paypal. I explained to him that we all have different severs and none of us changed our sites so the only common denominator is them. I gave him my URL and mentioned to him that there were several others and gave him this URL too (to the ZC Forums) and he is researching the problem and is *supposed* to call me back. We'll see. I'll post if I get any updates
I would love to hear what they say to you. They told me nothing was wrong and that I needed to upgrade to Website Payment Pro. They had no answers for why it worked with Website Payment Standard one moment and then didn't the next.
-
Re: Help? (Invalid Parameter)?
i am having the same error message... which i only found out about when customers started emailing me about it. it worked fine for weeks, with the odd error that i attributed to user error. i encouraged people to checkout with check/m.o module and then send paypal afterward; i adjusted their orders manually.
meanwhile, PP express orders slowly decreased, but were still trickling through up until yesterday. today, all orders are coming in under paypal IPN, along with a few emails from people describing the error. (luckily i never deleted the IPN module. i use paypal for all transactions, and since the express module requires a paypal account, i kept IPN for CC customers w/out paypal accounts)
IPN continues to work fine.
-
Re: Help? (Invalid Parameter)?
I am still having the issue this morning (I was hoping if it was a PayPal technical issue they might resolve it...no luck)
So as we try to eliminate the possibilities, can everyone post the answers to a few questions:
1. what version are you running
2. have you installed the latest patch
3. did you make any changes to your code before it quit working
4. who is your hosting company
5. are you using Website Payment Standard or Website Payment Pro
-
Re: Help? (Invalid Parameter)?
1. Fresh install of 1.3.7
2. I have installed the latest patch (Feb 8)
3. I only added product
4. Bluehost
5. Webstie Payment Standard
-
Re: Help? (Invalid Parameter)?
1. what version are you running: ZenCart 1.3.7 Brand new this weekend
2. have you installed the latest patch: Yes
3. did you make any changes to your code before it quit working: No
4. who is your hosting company: Bluehost
5. are you using Website Payment Standard or Website Payment Pro: Standard
-
Re: Help? (Invalid Parameter)?
Well, if so many persons are having the same problem without any change in the code, then it must be something from the paypal side
Can you guys wait for few days?
-
Re: Help? (Invalid Parameter)?
Quote:
Originally Posted by
superprg
Well, if so many persons are having the same problem without any change in the code, then it must be something from the paypal side
Can you guys wait for few days?
I have spoken to about 10 different people at PayPal tech support that have assured me it isn't their issue. I have been told numerous times that I need to upgrade to Payment Pro and then told I don't need to. It is pretty frustrating.
PayPal is how 95% of my customers make their payment, and at the moment it isn't working. This is day 2 for me.
Are you suggesting that we wait a couple of days to see if it just starts working again? Or that we wait a couple of days to see if PayPal finds anything on the open ticket? There really isn't anything else I can try by myself, I definately don't have enough knowledge of this stuff to fiddle with the code myself, so I am looking into having someone else check it out for me, but I would love it if PayPal figured it out.
-
Re: Help? (Invalid Parameter)?
1. what version are you running: ZenCart 1.3.7
2. have you installed the latest patch: Yes
3. did you make any changes to your code before it quit working: No
4. who is your hosting company: ACENET
5. are you using Website Payment Standard or Website Payment Pro: Pro
-
Re: Help? (Invalid Parameter)?
The fact that No1m is having the same problem with Pro makes at least answers paypal's claim that you have to have Pro for it to work right.
-
Re: Help? (Invalid Parameter)?
Quote:
Originally Posted by
CafePrima
The fact that No1m is having the same problem with Pro makes at least answers paypal's claim that you have to have Pro for it to work right.
Very true! And thank goodness that I found that out BEFORE I upgraded! :wacko:
No1im, have you contacted PayPal? You might have more luck since you get to contact Tech Support through Pro....:D
-
Re: Help? (Invalid Parameter)?
Well if it isn't working with Standard or Pro and it IS a PayPal thing you would think a LOT more people would be calling in to report it....and PayPal would know it was an issue if they got a couple of hundred calls.....
-
Re: Help? (Invalid Parameter)?
1. what version are you running: ZenCart 1.3.7
2. have you installed the latest patch: Yes
3. did you make any changes to your code before it quit working: No
4. who is your hosting company: goDaddy
5. are you using Website Payment Standard or Website Payment Pro: I use Express Checkout. My boss has paid for WPP Pro but I do not see how that would have an impact on Express Checkout.
We are a 100% Express Checkout. This is BAD.
USEFUL observations:
1) I have a download-only product and it works just fine
2) The logs show:
Feb-15-2007 06:02:13
before_process - EC-5
resultset:
Array
(
[ACK] => Failure
[L_ERRORCODE0] => 81210
[L_SHORTMESSAGE0] => Invalid%20Parameter
[L_LONGMESSAGE0] => Country%20%3a%20Invalid%20Parameter
[L_SEVERITYCODE0] => Error
)
3) Same logs show:
Feb-15-2007 06:02:13
before_process - EC-3
address overrides added:
Array
(
[ITEMAMT] => 0.01
[SHIPPINGAMT] => 0.00
[AMT] => 0.01
[L_NUMBER0] => 0
[L_QTY0] => 1
[L_NAME0] => GUTS
[L_AMT0] => 0.01
[L_TAXAMT0] => 0.00
[SHIPTONAME] => Andrey Abramov
[SHIPTOSTREET] => 240 Bay Street #410
[SHIPTOSTREET2] =>
[SHIPTOCITY] => San Francisco
[SHIPTOSTATE] => CA
[SHIPTOZIP] => 94133
[SHIPTOCOUNTRY] =>
)
My best guess is that SHIPTOCOUNTRY used to be empty by default and now PayPl requires an explicit value.
-
Re: Help? (Invalid Parameter)?
Quote:
Originally Posted by
andrabr
1. what version are you running: ZenCart 1.3.7
2. have you installed the latest patch: Yes
3. did you make any changes to your code before it quit working: No
4. who is your hosting company: goDaddy
5. are you using Website Payment Standard or Website Payment Pro: I use Express Checkout. My boss has paid for WPP Pro but I do not see how that would have an impact on Express Checkout.
We are a 100% Express Checkout. This is BAD.
USEFUL observations:
1) I have a download-only product and it works just fine
2) The logs show:
Feb-15-2007 06:02:13
before_process - EC-5
resultset:
Array
(
[ACK] => Failure
[L_ERRORCODE0] => 81210
[L_SHORTMESSAGE0] => Invalid%20Parameter
[L_LONGMESSAGE0] => Country%20%3a%20Invalid%20Parameter
[L_SEVERITYCODE0] => Error
)
3) Same logs show:
Feb-15-2007 06:02:13
before_process - EC-3
address overrides added:
Array
(
[ITEMAMT] => 0.01
[SHIPPINGAMT] => 0.00
[AMT] => 0.01
[L_NUMBER0] => 0
[L_QTY0] => 1
[L_NAME0] => GUTS
[L_AMT0] => 0.01
[L_TAXAMT0] => 0.00
[SHIPTONAME] => Andrey Abramov
[SHIPTOSTREET] => 240 Bay Street #410
[SHIPTOSTREET2] =>
[SHIPTOCITY] => San Francisco
[SHIPTOSTATE] => CA
[SHIPTOZIP] => 94133
[SHIPTOCOUNTRY] =>
)
My best guess is that SHIPTOCOUNTRY used to be empty by default and now PayPl requires an explicit value.
Oh!!! NICE!!!
And how would we go about getting it to send a country
-
Re: Help? (Invalid Parameter)?
My error log says this:
Quote:
We are sorry for the inconvenience. The PayPal account in this
store is presently misconfigured to use mixed sandbox and live settings. We
are unable to complete your transaction. Please notify the store owner so
they can correct this problem. (10002)
I called paypal. They are adamant that the problem is not theirs, though they admit they've received other calls on the matter. I did ask about the website pro option and the guy with whom I was speaking said "no, that will not fix this problem." He said that "paypal is not receiving the info it needs from Zen Cart" but couldn't tell me what that info was :unsure:
-
Re: Help? (Invalid Parameter)?
1. what version are you running: ZenCart 1.3.7
2. have you installed the latest patch: Yes (PPEC-137... feb 08)
3. did you make any changes to your code before it quit working: No
4. who is your hosting company: Infinology
5. are you using Website Payment Standard or Website Payment Pro: Standard
PayPal IPN works fine.
I have the country code error in PayPal express. I can affirm that it was working a few days ago.
Subject: PayPal Error Log - before_process() - EC
In function: before_process() - Express Checkout
Value List:
array (
'ITEMAMT' => 'xxxx',
'SHIPPINGAMT' => 'xxxx',
'AMT' => '62.00',
'L_NUMBER0' => '0',
'L_QTY0' => '1',
'L_NAME0' => 'xxxxx',
'L_AMT0' => '10.00',
'L_TAXAMT0' => '0.00',
'L_NUMBER1' => '1',
'L_QTY1' => '1',
'L_NAME1' => 'xxxxx',
'L_AMT1' => '45.00',
'L_TAXAMT1' => '0.00',
'L_NUMBER2' => '2',
'L_QTY2' => '1',
'L_NAME2' => 'xxxxx',
'L_AMT2' => '3.00',
'L_TAXAMT2' => '0.00',
'SHIPTONAME' => 'xxxx',
'SHIPTOSTREET' => 'xxxx',
'SHIPTOSTREET2' => '',
'SHIPTOCITY' => 'Eastxxxxx',
'SHIPTOSTATE' => 'OH',
'SHIPTOZIP' => 'xxxxx',
'SHIPTOCOUNTRY' => '',
'BUTTONSOURCE' => 'ZenCart-EC_us',
'TOKEN' => 'EC-40D16316P99111600',
'PAYERID' => 'xxxxxxxxxx',
'PAYMENTACTION' => 'Sale',
'NOTIFYURL' => 'http://xxxxxx.com/ipn_main_handler.php',
'METHOD' => 'DoExpressCheckoutPayment',
'CURRENCYCODE' => 'USD',
'USER' => 'xxxxxxxxx',
'PWD' => '****************',
'VERSION' => '2.3',
'SIGNATURE' => '****************************************************xfsG',
)
Response:
Array
(
[ACK] => Failure
[L_ERRORCODE0] => 81210
[L_SHORTMESSAGE0] => Invalid Parameter
[L_LONGMESSAGE0] => Country : Invalid Parameter
[L_SEVERITYCODE0] => Error
)
.
-
Re: Help? (Invalid Parameter)?
Quote:
Originally Posted by
CafePrima
My error log says this:
I called paypal. They are adamant that the problem is not theirs, though they admit they've received other calls on the matter. I did ask about the website pro option and the guy with whom I was speaking said "no, that will not fix this problem." He said that "paypal is not receiving the info it needs from Zen Cart" but couldn't tell me what that info was :unsure:
Have you changed your API information at all? Removed Express and reInstalled it. I get that error message when I try to us Express without my API information entered.
-
Re: Help? (Invalid Parameter)?
Okay everyone freeze ...
Only if you have an INVALID PARAMATER error ... should you be in this thread ...
If you have the invalid paramater error answer the following questions:
1 Who do you host with?
2 unix or windows?
3 what version of php?
4 clean install or upgrade?
5 are you using IPN or PayPal Express?
6 Do you have 1 or both installed? Meaning, if not using one or the other do you have the other one installed?
7 is there a pattern or specific country that this happens with?
8 Live or Sandbox?
Then sit quietly while we look at this further to determin the pattern here ...
Thanks! :smile:
-
Re: Help? (Invalid Parameter)?
1 Who do you host with? Bluehost
2 unix or windows? Bluehost: Linux
phpmyadmin: Localhost via UNIX socket
3 what version of php? phpmyadmin 2.9.0.2 mysql: 4.1.21
4 clean install or upgrade? Clean install through fantastico with my host
5 are you using IPN or PayPal Express? when receiving this error? Paypal Express
6 Do you have 1 or both installed? Meaning, if not using one or the other do you have the other one installed? I have both installed but only Paypal Express turned on.
7 is there a pattern or specific country that this happens with? No
8 Live or Sandbox? Live
-
Re: Help? (Invalid Parameter)?
1 Who do you host with?
Infinology
2 unix or windows?
UNIX (FreeBSD 4.10)
3 what version of php?
Can't figure this out. I can probably get an answer .... eventually.
4 clean install or upgrade?
Installed all files over 1.3x, database upgrade. Installed Feb 8 patch. Uninstalled and reinstalled PayPal IPN module. Re-pasted API parameters.
5 are you using IPN or PayPal Express?
IPN 'cos PayPal express fails.
6 Do you have 1 or both installed? Meaning, if not using one or the other do you have the other one installed?
Both are installed.
7 is there a pattern or specific country that this happens with?
So far - US only.
8 Live or Sandbox?
Live
-
Re: Help? (Invalid Parameter)?
1 Who do you host with? Bluehost
2 unix or windows? Linux
3 what version of php? Php 4.4.4
4 clean install or upgrade? Clean
5 are you using IPN or PayPal Express? PayPal Express
6 Do you have 1 or both installed? Meaning, if not using one or the other do you have the other one installed?
Currently I only have Express installed (removed PHP because I couldn't get the echeck issue fixed, then removed Express when it quit working and re-installed IPN when Express quit working a few days ago. I have tried running both together to see if it worked, but no change)
7 is there a pattern or specific country that this happens with? I have only had transactions from the US
8 Live or Sandbox? Live
Then sit quietly while we look at this further to determin the pattern here ... (My pleasure)
Thanks! :smile:
THANK YOU!!!!
-
Re: Help? (Invalid Parameter)?
6 Do you have 1 or both installed? Meaning, if not using one or the other do you have the other one installed?
Currently I only have Express installed (removed PHP because I couldn't get the echeck issue fixed, then removed Express when it quit working and re-installed IPN when Express quit working a few days ago. I have tried running both together to see if it worked, but no change)
**edited***
I meant removed IPN! Sorry!
-
Re: Help? (Invalid Parameter)?
This is UPDATED info after talking to my host provider. New info is red. I can't delete the other post or I would.
1 Who do you host with? Bluehost
2 unix or windows? Bluehost: Linux
phpmyadmin: Localhost via UNIX socket
3 what version of php? 4.4.4
4 clean install or upgrade? Clean install through fantastico with my host
5 are you using IPN or PayPal Express? when receiving this error? Paypal Express
6 Do you have 1 or both installed? Meaning, if not using one or the other do you have the other one installed? I have both installed but only Paypal Express turned on.
7 is there a pattern or specific country that this happens with? No
8 Live or Sandbox? Live
-
Re: Help? (Invalid Parameter)?
FOUND IT!!!! Fixed it (maybe).
but first, the requested data:
1 Who do you host with? goDaddy
2 unix or windows? Linux
3 what version of php? 5.0.4
4 clean install or upgrade? Clean install + latest patch.
5 are you using IPN or PayPal Express? when receiving this error? Paypal Express
6 Do you have 1 or both installed? Meaning, if not using one or the other do you have the other one installed? - only Paypal Express
7 is there a pattern or specific country that this happens with? Definitely US, not certain of others.
8 Live or Sandbox? Live
Being impatient i started looking at the code. In paypalwpp.php in function ec_step2_finish around line 1770 there is a nice check
if (!isset($paypal_ec_payer_info['ship_country_code']))
Well, it just happens that it IS set to '' (nothing).
Changing that line to:
if ((!isset($paypal_ec_payer_info['ship_country_code'])) OR ($paypal_ec_payer_info['ship_country_code']=='')) {$paypal_ec_payer_info['ship_country_code'] = $country1->fields['countries_iso_code_2']; $_SESSION['paypal_ec_payer_info']['ship_country_code']= $country1->fields['countries_iso_code_2'];}
allowed me to successfully complete a transaction.
Now, I do NOT know PHP, and I do NOT understand Zen Cart guts well enough to say that this is IT. The problem is probably somewhere upstream and the fix is more elegant.
I can easily imagine though that PAyPal changed their protocol to return an empty but defined value instead of returning none, thus quietly throwing a wrench into Zen Cart machinery.
I can't wait what the PROs think! :smartass:
~Andrey
-
Re: Help? (Invalid Parameter)?
Quote:
Originally Posted by
andrabr
FOUND IT!!!! Fixed it (maybe).
I can't wait what the PROs think! :smartass:
~Andrey
I can't tell you what the PROs will think but I will tell you that *I* could kiss you right now! Thank you thank you!
I get a really long lag after the paypal screen when I'm back on my site and click "confirm" but the order DOES go through and I get both the payment and the order confirm. So slow is better than not at all and I'll take it!
THANK YOU!
-
Re: Help? (Invalid Parameter)?
Quote:
Originally Posted by
andrabr
1. what version are you running: ZenCart 1.3.7
2. have you installed the latest patch: Yes
We are a 100% Express Checkout.
USEFUL observations:
1) I have a download-only product and it works just fine
2) The logs show:
Feb-15-2007 06:02:13
before_process - EC-5
resultset:
Array
(
[ACK] => Failure
[L_ERRORCODE0] => 81210
[L_SHORTMESSAGE0] => Invalid%20Parameter
[L_LONGMESSAGE0] => Country%20%3a%20Invalid%20Parameter
[L_SEVERITYCODE0] => Error
)
3) Same logs show:
Feb-15-2007 06:02:13
before_process - EC-3
address overrides added:
Array
(
[ITEMAMT] => 0.01
[SHIPPINGAMT] => 0.00
[AMT] => 0.01
[L_NUMBER0] => 0
[L_QTY0] => 1
[L_NAME0] => GUTS
[L_AMT0] => 0.01
[L_TAXAMT0] => 0.00
[SHIPTONAME] => Andrey Abramov
[SHIPTOSTREET] => 240 Bay Street #410
[SHIPTOSTREET2] =>
[SHIPTOCITY] => San Francisco
[SHIPTOSTATE] => CA
[SHIPTOZIP] => 94133
[SHIPTOCOUNTRY] =>
)
My best guess is that SHIPTOCOUNTRY used to be empty by default and now PayPal requires an explicit value.
This last bit of debug log that you posted is from a DoExpressCheckoutPayment API call. Can you post the GetExpressCheckoutDetails log data for the same transaction? (TOKEN will be the same in both)
PayPal EC processing happens in 3 stages:
1. SetExpressCheckout (sets a TOKEN between PP and your shop, and customer logs into their PP account)
2. GetExpressCheckoutDetails (gets details from PP based on customer-selected options)
3. DoExpressCheckoutPayment (sends payment request and captures funds to complete the order).
(All other debug logs merely show data pieces used in stitching together the entire transaction.)
It seems that perhaps PayPal is sending data back differently in the GetExpressCheckoutDetails step (perhaps due to a recent code-maintenance update on their end), which is causing Zen Cart to be confused over the results. I need to see the GetExpressCheckoutDetails logs that are created just before the error occurs (no need to complete checkout ... just login to PayPal and return to the store).
The fix suggested by andrabr earlier may provide some relief for U.S. shops, but may or may not be the final solution.
Debug logs will be a huge help. If you prefer not to post them here (they should be safe generally), you may PM me with FTP access to your debug log folder as an alternative.
(However, I do apologize in advance for delays in replying (if any), as I'm neck-deep in completing a very intense client project ...)
-
Re: Help? (Invalid Parameter)?
Ohh! Off to try it now!!
There are a few paypalwpp.php files. Were is it locater?
includes/modules/payment/paypalwpp.php
or
includes/lanugage/english/modules/payment/paypalwpp.php
-
Re: Help? (Invalid Parameter)?
Quote:
includes/modules/payment/paypalwpp.php
I made the fix in that file and have been able to successfully (but slowly) check out
-
Re: Help? (Invalid Parameter)?
Add me to the list of people that want to kiss you!
It works seemlessly for me (knock on wood) at the moment! Not even any lag! LOVE IT!
Thank you! Thank you ! THANK YOU!
-
Re: Help? (Invalid Parameter)?
This is a screen shot of all the emails I received when I had "log and error debug" turned on in admin->modules->payment->paypal express checkout. These are all the emails I received in two failed transactions that generated the invalid parameter error.
If you tell me which of these to post (if any) I can :) Sorry for doing this in such an "zen for dummies" way but it's the only way I know how to make sure I'm doing exactly what you're telling me to do
http://img.photobucket.com/albums/v6...s/bugerror.jpg
-
Re: Help? (Invalid Parameter)?
Quote:
Originally Posted by
CafePrima
This is a screen shot of all the emails I received when I had "log and error debug" turned on in admin->modules->payment->paypal express checkout. These are all the emails I received in two failed transactions that generated the invalid parameter error.
If you tell me which of these to post (if any) I can :) Sorry for doing this in such an "zen for dummies" way but it's the only way I know how to make sure I'm doing exactly what you're telling me to do
http://img.photobucket.com/albums/v6...s/bugerror.jpg
Ideally one that says "ec_step2_finish - 1" or "PayPal Debug log - GetExpressCheckoutDetails" would be most useful.
-
Re: Help? (Invalid Parameter)?
I'm sorry-it doesn't look like I have any of those that you requested. Which is odd because I was getting the error in question!
-
Re: Help? (Invalid Parameter)?
One of my team members is from the Netherlands. She just checked out on my site (I used the fix posted last page about fixing the country) and was able to do so successfully! Hope that helps!
Also, noticed that now my paypal receipts have an itemized list of what's ordered. I think that's what's causing my lag. Is it supposed to do that? It didn't do it before. I don't mind it but I'd prefer speed. Is there a way to turn it off? Let me know if I should move/delete this question so as to not belabor the thread
-
Re: Help? (Invalid Parameter)?
Got the logs all packed and ready. Do PM me with an address and I'll email them to you.
A>
-
Re: Help? (Invalid Parameter)?
Quote:
Originally Posted by
CafePrima
Also, noticed that now my paypal receipts have an itemized list of what's ordered. I think that's what's causing my lag. Is it supposed to do that? It didn't do it before. I don't mind it but I'd prefer speed. Is there a way to turn it off? Let me know if I should move/delete this question so as to not belabor the thread
No, the line-item details is not causing the speed problem.
I suspect that your speed problem is related to communication slowness between your webserver and the PayPal site. (the webserver uses CURL to talk to PayPal from your Zen Cart shop).
As you mention, it's not related to the current discussion at hand.
-
Re: Help? (Invalid Parameter)?
thanks dr byte--I moved it to its own thread :D. I'll edit my post here if it will let me
Ok I can't seem to edit that post but feel free to delete if you think it might derail the thread. Thanks!
-
Re: Help? (Invalid Parameter)?
PART ONE of the fix:
the fix proposed by andrabr is ideal, and should help ease the problem:
/includes/modules/payment/paypalwpp.php
approx line 1778 (depending on which patch version you have installed)
change this:
Code:
if (!isset($paypal_ec_payer_info['ship_country_code'])) $paypal_ec_payer_info['ship_country_code'] = $country1->fields['countries_iso_code_2'];
to this:
Code:
if (!isset($paypal_ec_payer_info['ship_country_code']) || $paypal_ec_payer_info['ship_country_code'] == '') $paypal_ec_payer_info['ship_country_code'] = $country1->fields['countries_iso_code_2'];
For the technical-minded among us, the problem is that PayPal is now sending back different data, which, as andrabr suggested, was causing confusion. This fix catches that and forces the alternative lookup method to be used.
-
Re: Help? (Invalid Parameter)?
PART TWO of the fix:
The above fix is useful, but this one is even more helpful ...
PayPal changed SHIPTOCOUNTRY to SHIPTOCOUNTRYCODE in their recent system update, which is causing the problem.
So, the fix appears to be this:
/includes/modules/payment/paypalwpp.php
approx line 1730 (depending on the patch installed):
change this:
Code:
'ship_country_code' => urldecode($response['SHIPTOCOUNTRY']),
to this:
Code:
'ship_country_code' => urldecode($response['SHIPTOCOUNTRYCODE']),
-
Re: Help? (Invalid Parameter)?
Updated patch posted here (or you can do the edits posted above):
http://www.zen-cart.com/forum/showth...003#post330003
-
Re: Help? (Invalid Parameter)?
Edited to remove question.
I am just going to download your new patch!!
-
Re: Help? (Invalid Parameter)?
thanks so much! i also see this patch fixes a comments issue i had.
so fabulous.
-
Re: Help? (Invalid Parameter)?
Please see my post and comments regarding this issue.
http://www.zen-cart.com/forum/showthread.php?t=58645
Woody
-
Re: Help? (Invalid Parameter)?
I had a customer from Canada buy something from my site (in USA) via Paypal. The customer tried two times and got a screen of HTML and not a confirmation of payment screen. He does have a group pricing discount.
This is the screen he got:
Quote:
Warning: reset() [function.reset]: Passed variable is not an array or
object in
/home/biztekpc/public_html/zen/includes/modules/order_total/ot_group_pricing.php
on line 77
Warning: Variable passed to each() is not an array or object in
/home/biztekpc/public_html/zen/includes/modules/order_total/ot_group_pricing.php
on line 78
Warning: reset() [function.reset]: Passed variable is not an array or
object in
/home/biztekpc/public_html/zen/includes/modules/order_total/ot_tax.php
on line 38
Warning: Variable passed to each() is not an array or object in
/home/biztekpc/public_html/zen/includes/modules/order_total/ot_tax.php
on line 39
Warning: Cannot modify header information - headers already sent by
(output started at
/home/biztekpc/public_html/zen/includes/modules/order_total/ot_group_pricing.php:77)
in
/home/biztekpc/public_html/zen/includes/functions/functions_general.php
on line 44
I tried to install the patches as previously mentioned but I have no clue what I'm doing and there is no install instructions. Please Advise.
-
Re: Help? (Invalid Parameter)?
You need to apply the patches, as you have read.
To install, simply unzip the files to a temporary folder ... just like your main Zen Cart files. Then upload the files to the same folders as they're contained in within the zip file ... overwriting the masters on your server.
If you installed via Fantastico, you will need to either talk to your hosting company about how to FTP files to your site, and/or go to our FAQ section and read up on FTP and uploading files. You will need to learn this to manage your website anyway.
As an addendum, the patches were updated earlier today:
http://www.zen-cart.com/forum/showth...974#post331974
-
Re: Help? (Invalid Parameter)?
DrByte, I want to thank you for your speedy response to this problem.
-
Re: Help? (Invalid Parameter)?
Thanks for your help on the installing patches but I was able to fix it without installing any patches. The problem is now completely resolved.
-
Re: Help? (Invalid Parameter)?
Quote:
Originally Posted by
biztekpc
Thanks for your help on the installing patches but I was able to fix it without installing any patches. The problem is now completely resolved.
could you please post your fix?
-
Re: Help? (Invalid Parameter)?
-
Re: Help? (Invalid Parameter)?
Does this problem affect all previous zencart versions or just 1.3.7? Can the patches be applied to all 1.3x versions or will that cause more problems? Do I have to reinstall the paypal module in admin for the patch to work?
-
Re: Help? (Invalid Parameter)?
The PayPal patches posted in the "PayPal patches" thread are for v1.3.7 specifically.
http://www.zen-cart.com/forum/showthread.php?t=56216
Installing them on older versions (without doing a proper upgrade to the newer version) will cause you great grief.