ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Simple Commerce PayPal Sandbox Fail

June 09, 2011 12:27pm

Subscribe [7]
  • #1 / Jun 09, 2011 12:27pm

    IdeaFarm

    53 posts

    Messing with this for several hours and starting to lose my patience.

    I feel I have followed the the Simple Commerce Instructions to the letter.

    Set up accounts, verified accounts, did the hokie pokie turned myself around.

    Edited the mod.simple_commerce.php - Screen shot below.

    PP Sandbox is kicking out an error - We were unable to decrypt the certificate id.  Screen shot below.

    What am I missing?

    v2.1.3 - Build:20110411

  • #2 / Jun 10, 2011 3:26am

    John Henry Donovan

    12339 posts

    IdeaFarm,

    Are you using buttons or links for payment?
    Is this only in one particular browser or all?

    Can ou test with default button code from docs

    Thread reference

  • #3 / Jun 10, 2011 11:09am

    IdeaFarm

    53 posts

    Using links but tried buttons.  Same result in every browser.  I am finally just testing live with $0.02 & $0.01 purchases.

    I have found so much information on the board that seems relevant that isn’t in the docs.

    For instance…

    If you aren’t receiving an email, then PayPal is not sending the IPN to your access URL.  Double check your IPN configuration and that it matches the URL in your Simple Commerce control panel.  The Sandbox can be fairly complex to set up - you have to add a fake bank account to the seller account, it needs to match your Simple Commerce seller details, and you have to confirm the account and credit card.  The buyers also have to be verified through the Sandbox email inbox.  It may be simpler to try an inexpensive live purchase.

    Derek Jones

    http://ellislab.com/forums/viewthread/73950/P18/#367982

    But no where in the User Guide does it mention this.  Should I set up a sandbox first for my testing purposes before I add a clients real account? 

    The hunt for Simple Commerce information is difficult, a few clarifications in the User Guide via an update or a Contributor Note would certainly help.  A note that reads..

    “Skip the sandbox setup and just make a bunch of $0.01 products to test.  What you save in time and frustration will more than make up for the $2.14 you spent testing”

    😜

    I would really like to figure this out moving forward with other site but at a complete lose as to my correct set up.

    Thanks,
    JohnBoy

  • #4 / Jun 11, 2011 4:09pm

    Greg Salt

    3988 posts

    Hi JohnBoy,

    Have you confirmed that the system works with unencrypted buttons first? Which browser are you using for the encrypted tests?

    Cheers

    Greg

  • #5 / Jun 13, 2011 9:27am

    IdeaFarm

    53 posts

    I have tested with Chrome, Firefox and IE.
    I have tested with button & link code.
    All fail with the above error.

    Not positive that my sandbox is set up correctly. 
    I set up Simple Commerce with all the proper credentials and certs. Added a bunch of items and then went ahead and set up the Sandbox. 

    I am wondering if removing the credentials and certs before working in sandbox would work.

    Then again I haven’t had my coffee yet today.  😊

  • #6 / Jun 14, 2011 3:50pm

    Brandon Jones

    5500 posts

    Hi IdeaFarm,

    Is everything working properly with the live (non-sandbox) setup? If so I suspect it was a sandbox configuration issue. I also tend to test live with small payements, as there’s little PayPal could do to make the sandbox more complicated!

  • #7 / Aug 29, 2011 9:15am

    I have been testing the SCM, but in a live PayPal environment rather than a sandbox, and I too get the “We were unable to decrypt the certificate id” message from PayPal if Encrypt PayPal Buttons and Links? is set to Yes. It doesn’t happen if I set it to No.

    This occurs in both Firefox and Chrome with the latest version of EE (2.2.2 - Build: date 20110801) in an MSM environment.

    Any ideas or suggestions about what I can do to fix this would be greatly appreciated.

  • #8 / Aug 29, 2011 10:50am

    Dave @ Exp:resso

    465 posts

    You could try Exp:resso Store (exp-resso.com/store) - would make your life a lot easier and then some. We use it to sell itself using Paypal and the IPN comes through fine. PLus you have complete flexibility wih products as channel entries. Its still only $39 and we’re happy to provide a refund if you don’t love it! Sorry, thats my sales pitch for the day 😛

  • #9 / Aug 30, 2011 4:15am

    John Henry Donovan

    12339 posts

    Garden-variety Fool,

    Can you let us know all the steps you have taken so we can tr and replicate.
    Do your seller and buyer emails match?
    Are you using buttons or links? What happens if you switch?
    What version of MSM


    @Dave while I appreciate you have an EE Commerce add-on, the promotion of it through these types of threads is not very helpful in keeping the thread on track. The Community News forum would be best suited for the promotion of it.

  • #10 / Sep 04, 2011 4:12am

    Thanks for the response, John!

    Can you let us know all the steps you have taken so we can tr and replicate.


    I’ve set up the SCM as I would for other sites, but this site is rather more complex, so I’m still trying to iron out possible causes.

    Do your seller and buyer emails match?

    They do.

    Are you using buttons or links? What happens if you switch?

    Both buttons and links seem to fail with the same error message.

    What version of MSM

    I’m pretty sure it was the latest version available when I downloaded and installed EE 2.2.2. Where does one check for the MSM version number?

    Is this error likely to occur if the site is running on a subdomain or anything like that?

  • #11 / Sep 07, 2011 2:53am

    John Henry Donovan

    12339 posts

    Garden-variety Fool,

    I’m pretty sure it was the latest version available when I downloaded and installed EE 2.2.2. Where does one check for the MSM version number?

    Click on your site name in eh top right and then Edit Sites.
    You will see the version and build of MSM in the following page.

    Are you using a htaccess file to remove index.php?

    Is this error likely to occur if the site is running on a subdomain or anything like that?

    Are your purchase buttons on an MSM site that is not your primary site?

  • #12 / Sep 07, 2011 3:59am

    Garden-variety Fool,

    I’m pretty sure it was the latest version available when I downloaded and installed EE 2.2.2. Where does one check for the MSM version number?

    Click on your site name in eh top right and then Edit Sites.
    You will see the version and build of MSM in the following page.

    Are you using a htaccess file to remove index.php?

    Is this error likely to occur if the site is running on a subdomain or anything like that?

    Are your purchase buttons on an MSM site that is not your primary site?

    Thank for the response!

    I was eventually able to resolve the problem by deleting the certificate from PayPal and downloading a new copy.

    I am, however, using .htaccess to remove index.php from the URL and using the buttons on a secondary MSM site. Are there cautions to be aware of in these cases?

    Also, I notice that PayPal only provides a place for one IPN URL. In the case of sn MSM site, is it okay to use the URL for the main site even on secondary sites?

  • #13 / Sep 07, 2011 12:36pm

    Mark Bowen

    12637 posts

    Hi Garden-variety Fool,

    Just catching up here but wanted to say I’m glad you found out what the problem was with the certificate.

    Regarding the .htaccess file are you using the supported method of removing index.php or your own .htaccess file?

    As to your question about the IPN URL I asked for confirmation on this and there aren’t any problems known off hand although if you do come across anything then please do let us know immediately.

    Does that help?

    Thanks.

    Mark

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases