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.

SCM EE doesnt record Purchase

December 15, 2011 4:51am

Subscribe [3]
  • #1 / Dec 15, 2011 4:51am

    artminister

    159 posts

    Hi,

    I have a setup SCM with paypal sandbox. Paypal is sending IPN, the following is the IPN sent.

    mc_gross=5.00&protection_eligibility=Ineligible&address_status=unconfirmed&payer_id=JKM8LQAFC95EN&tax=0.00&address_street=71566176 Sky E137 S&payment_date=01:47:59 Dec 15, 2011 PST&payment_status=Pending&charset=windows-1252&address_zip=W185744&first_name=Test&address_country_code=HK&address_name=User Test&notify_version=3.4&custom=1&payer_status=verified&[email protected]&address_country=Hong Kong&address_city=Posta&quantity=1&verify_sign=AOxlBHIsYyHy-hbS.P4Rr.Z-.VYtA44IaMTKUBJEdV4KYY6SdJHr-usE&[email protected]&txn_id=58N536935M769423T&payment_type=instant&last_name=User&address_state=Libisia&[email protected]&receiver_id=GPQGW6YU38CEA&pending_reason=multi_currency&txn_type=web_accept&item_name=Job Highlight&mc_currency=SGD&item_number=1&residence_country=HK&test_ipn=1&handling_amount=0.00&transaction_subject=1&payment;_gross=&shipping=0.00&ipn_track_id=JD1KrxNjy8KAxcGSyEeNdA

    The template code is

    {exp:channel:entries channel="purchases" dynamic="off"}
    {exp:simple_commerce:purchase entry_id="{entry_id}" success="site/success" cancel="site/index"  country_code="SG" currency="SGD"}
           <h3>{item_name}</h3>
    
    <p>       <strong>{item_sale_price}</strong></p>
    
    <p>       {if item_type == "purchase"}<br />
                   <a href="http://{buy_now_url}">Buy Now</a><br />
                   <a >Add to Cart</a><br />
                   <a >View Cart</a><br />
           {/if}<br />
           {if item_type == "subscription"}<br />
                   <a >Subscribe Now</a><br />
           {/if}<br />
    {/exp:simple_commerce:purchase}<br />
    {/exp:channel:entries}


    But expressionengine is not recording any payment. From the WIKI, i have the following checked

    1. Emails should be verified - Yes
    2. Email in SCM should be the same - Yes
    3. index.php is used.
    4. I have setup the IPN URL in the sandbox account and it is sending IPN to the right URL.


    I am not sure whats the issue here.

    - Vinay

  • #2 / Dec 16, 2011 6:42pm

    Sean C. Smith

    3818 posts

    Hi artminister,

    It appears that your pending problem is due to multiple currencies.

    Could you try this:

    1. Login to your Developer Central.
    2. Click on Test Accounts tab on the left. You should have created these test accounts for testing on Sandbox.
    3. Find the column ‘Payment Review’.
    4. Find the sandbox account you are using and click on “Enabled” in the ‘Payment Review’ column.
    5. This should change to “Disabled” and now payments funded from your balance and credit card will complete instantly.

    If that doesn’t help try:

    accepting multiple currencies in your paypal seller account. Its Payment Receiving Preferences section under Profile.

    Sean

  • #3 / Dec 19, 2011 12:10am

    artminister

    159 posts

    Hi Sean,

    Yes the Payment Review was enabled which caused EE not recording the payments. Its all fixed now.

    Thank you.

    - Vinay

  • #4 / Dec 19, 2011 6:02pm

    Sean C. Smith

    3818 posts

    Excellent. Glad to hear you’ve got it working now.

    Sean

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

ExpressionEngine News!

#eecms, #events, #releases