Good day all,
I am trying to set up a subscription website. I am halfway through the process. I have configured the simple commerce module so that it displays the products, directs the user to paypal, lets them log in and pay.
• I am using paypal sandbox for now. I am using a verified business account and a user accout.
• I am logged in as a user while doing the purchase.
• The user’s email match in the test site and sandbox account.
• The transaction is completed in both sandbox accounts. The IPN history shows that the IPN is sent and
shows http 200 response.
• I have double checked the notify url as well.
• I am not using encrypted payments.
When I login to EE backend, neither the purchase is recorded nor the member group is changed. No emails have been sent out.
I tried to enable the debug mode, however I didn’t get any email of the IPN.
This is the code I am using to generate the page.
————————————————————————————————————————————————————————————————————————-
{exp:channel:entries channel="subscribe" limit="1" disable="member_data|trackbacks|pagination" status="Open" }
{title}
{description}
{exp:simple_commerce:purchase entry_id="{entry_id}” success=“customer/subscribe_success” cancel=“customer/profile”}
{item_sale_price}
<form acti method=“post”>
<input type=“hidden” name=“cmd” value=“_xclick” />
<input type=“hidden” name=“business” value=“[email protected]” />
<input type=“hidden” name=“add” value=“1” />
<input type=“hidden” name=“return” value=”/index.php/customer/subscribe_success” />
<input type=“hidden” name=“cancel_return” value=”/index.php/customer/profile” />
<input type=“hidden” name=“notify_url” value=”/index.php?ACT=33” />
<input type=“hidden” name=“item_name” value=“Yearly Subscription” />
<input type=“hidden” name=“item_type” value=“Subscription” />
<input type=“hidden” name=“item_number” value=“3”>
<input type=“hidden” name=“quantity” value=“1” />
<input type=“hidden” name=“amount” value=“1.00” />
<input type=“hidden” name=“lc” value=“US” />
<input type=“hidden” name=“currency_code” value=“USD” />
<input type=“hidden” name=“custom” value=”{member_id}” />
<input type=“hidden” name=“site_id” value=“1” />
<input type=“image” src=“https://www.paypalobjects.com/en_US/i/btn/btn_subscribeCC_LG.gif” border=“0” name=“submit” alt=“Subscribe using PayPal!”>
</form>
{/exp:simple_commerce:purchase}
{/exp:channel:entries}
——————————————————————————————————————————————————————————————————————————
I have gone through many threads over and over again, but couldn’t figure out the problem. Finally decided to start a new thread. Any help would be much appreciated.
Thanks
Seyon.