Thread: Error 10415

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Error 10415

    We recently switched from PayPal Standard to PayPal Express and PayPal Pro. Client is now getting a few duplicate orders and almost all show in Zen Cart without any of the order data. See screenshot:

    Name:  paypal-data-missing.png
Views: 481
Size:  8.7 KB

    I've enabled dedugging and is seems this is the problem, but I don't understand what it means or how to fix it.

    May-06-2015 13:03:19 (1430935399)
    before_process - EC-5
    resultset:
    Array
    (
    [TIMESTAMP] => 2015-05-06T18:03:19Z
    [CORRELATIONID] => e18e1d5611ff6
    [ACK] => Failure
    [VERSION] => 61.0
    [BUILD] => 16566018
    [L_ERRORCODE0] => 10415
    [L_SHORTMESSAGE0] => Transaction refused because of an invalid argument. See additional error messages for details.
    [L_LONGMESSAGE0] => A successful transaction has already been completed for this token.
    [L_SEVERITYCODE0] => Error
    [CURL_ERRORS] =>
    )

  2. #2
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: Error 10415

    The fix was to change the email transport method from smtp to php.

  3. #3
    Join Date
    Oct 2011
    Posts
    18
    Plugin Contributions
    0

    Default Re: Error 10415

    Thanks very much for posting your fix! I have been plagued with the same issue and same PayPal error over the last few months so bit the bullet and switched from PayPal Standard to PayPal Express. The issue seemed to go away but this week one in 4 orders has been a double order and like you one of each of the orders had no PayPal transaction details. At least under PayPal Standard I just had duplicate orders but only one payment but with Express I was getting two payments as well.

    After some testing and troubleshooting the problem seemed to be a large delay (up to 30 secs) between clicking on 'Confirm The Order' and being returned to the account to download. I initially assumed it was PayPal related but then found that free orders could be very slow as well:

    01/06/2015 01:51:55 - /index.php?main_page=checkout_payment (0.166s)
    01/06/2015 01:52:02 - /index.php?main_page=checkout_confirmation (0.243s)
    01/06/2015 01:52:27 - /index.php?main_page=checkout_success (0.235s)

    Having switched from smtpauth to php the checkout is now instant so hopefully the duplicate order issue will stop.

    01/06/2015 04:01:26 - /index.php?main_page=checkout_payment (0.182s)
    01/06/2015 04:01:29 - /index.php?main_page=checkout_confirmation (0.186s)
    01/06/2015 04:01:32 - /index.php?main_page=checkout_success (0.179s)

    I had noticed that I occasionally wasn't getting order confirmation emails so I did wonder if it was email related.

    I use GMAIL as my provider and the emails are still coming through but are there any downsides of using php instead of smtpauth?

    Although I wasn't hopeful it would fix the issue at least this has forced me to start looking at upgrading (1.3.9h > 1.5.4) so I am well down the path to achieving that!

  4. #4
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Error 10415

    Php email is not considered as secure a method. I believe this is covered in the FAQ area.

    As for the email, why not an email account associated with your host/server instead of a generic gmail account? There have also been posts about using alternative email accounts as well and the problems associated.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Aug 2009
    Location
    Longs, SC
    Posts
    626
    Plugin Contributions
    2

    Default Re: Error 10415

    Quote Originally Posted by jeking View Post
    The fix was to change the email transport method from smtp to php.
    Jim,
    What led you to the transport method as a possible cause from this error message? Rich is very curious.

  6. #6
    Join Date
    Oct 2011
    Posts
    18
    Plugin Contributions
    0

    Default Re: Error 10415

    @mc12345678, thanks very much for your feedback. I will do some more research on a better solution but at least the problem appears to be sorted for now.

    Google hosts the email system for my web site so the emails appear to come from it rather than a random Gmail account. It has been working fine for nearly 4 years and although my memory is a bit hazy now I think I did it to make it easier to interface it with my personal account and also monitor my emails all from one place.

    The world and available solutions have moved on a lot in that time so it is probably a good time to have a review.

  7. #7
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Error 10415

    Quote Originally Posted by mc12345678 View Post
    Php email is not considered as secure a method.
    No email is secure, and the two words should never be used in the same sentence, unless it is to say no email is secure. :-)

    PHP, sendmail, qmail. SMTP, SMTPAuth, etc, etc, all (ultimately) transfer the emails using the SMTP protocol.

    Encryption (assuming that is what you mean by 'secure') is a different kettle of fish, as are the methods of authentication (if needed).

    One must not use the term 'secure' so loosely for fear of deceiving thyself and others. ;-)

    Cheers
    RodG

  8. #8
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Error 10415

    Ahh, Rod. Back from vacation it seems. :)

    Besides that I was short on available time when written, the product (email) was not at all the object of "concern". Instead it was the method of creation that I was attempting to address (method). I used to provide better email discussion assistance but that was when I was still trying to get a grasp on that aspect of ZC. Now that I have "settled in" on using smtpauth, parts of that have escaped me. But I recall the FAQ being helpful in the general aspect with subtle issues to be addressed in the forum.

    Neigh do I consider email as secure regardless... All that can be asked is to do the best with what is available, support those that make improvements for us all and don't needlessly open the door to allow the nasties in. :)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Error 10415

    Directly addressing the php, sendmail versus smtp,smtpauth issue. Depending on server setup (partly because I am not sure in all cases) php, sendmail will show the email as being sent from (NOT the FROM: field) user@servername instead of [email protected] as smtp,smtpauth does, which could lead to delivery issues. The visible FROM: field will still be filled out with what you set in the store admin, but if you were to view the headers of the email you would likely see [email protected] buried in there. As someone who works in hosting I would say it's always preferable to use smtpauth, when possible.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  10. #10
    Join Date
    Oct 2011
    Posts
    18
    Plugin Contributions
    0

    Default Re: Error 10415

    Thanks for the info. You are correct. The headers in my more recent emails show my server console login then in brackets envelope-from [email protected] whereas the old ones appear to come directly from [email protected].

    I wonder why the php emails seem to get to Google's servers in seconds whereas when I use smtpauth with smtp.gmail.com the delay can be 30 seconds or more?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 PayPal 10415 Error and spinning cursor
    By Dave224 in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 23 Dec 2015, 07:17 PM
  2. Replies: 2
    Last Post: 15 Feb 2012, 09:08 PM
  3. 10415 PayPal Express error code
    By commdiver in forum PayPal Express Checkout support
    Replies: 9
    Last Post: 14 May 2011, 10:10 PM
  4. UPS XML Error: cURL: Error [77]: error setting certificate verify locations
    By ultraloveninja in forum Addon Shipping Modules
    Replies: 3
    Last Post: 30 Nov 2009, 03:55 AM
  5. Replies: 4
    Last Post: 30 Aug 2009, 09:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg