Hello guys, I wanted to know how do I enable access to a page after you have purchased a particular product? Alessandro
Hello David, I created a product by product managers, I created a page with forms editor, I created the page to download the product via protect control, the user buys everything but they are given access to the page, I have to do it manually, why? What I do not have access to?
Im not sure what you mean? aMember has no idea of what the products you want to give access to are until you set up the protection in 'protect content'. Think of it like this- amember has a subscription system and protection system. The protection system has to be told what subscription access should get what content. David
The blame can be given to the Paypal IPN? 04/06/12 16:10 …member/payment/paypal/ipn 173.0.82.xxx Wrong IPN received, paypal [_notify-validate] answers: INVALID=200 Click to Expand Exception Am_Exception_Paysystem Am_Paysystem_Transaction_Paypal->validateSource [ library/Am/Paysystem/Transaction/Incoming.php : 286 ] Am_Paysystem_Transaction_Incoming->validate [ library/Am/Paysystem/Transaction/Abstract.php : 48 ] Am_Paysystem_Transaction_Abstract->process [ library/Am/Paysystem/Transaction/Incoming.php : 232 ] Am_Paysystem_Transaction_Incoming->process [ library/Am/Paysystem/Abstract.php : 430 ] Am_Paysystem_Abstract->directAction [ application/default/controllers/DirectController.php : 29 ] DirectController->__call [ library/Am/Controller.php : 118 ] Am_Controller->dispatch [ library/Zend/Controller/Dispatcher/Standard.php : 295 ] Zend_Controller_Dispatcher_Standard->dispatch [ library/Zend/Controller/Front.php : 954 ] Zend_Controller_Front->dispatch [ library/Am/App.php : 1517 ] Am_App->run [ index.php : 41 ] 02/06/12 13:32 …member/payment/paypal/ipn 173.0.82.xxx IPN seems to be received from unknown source, not from the paysystem Click to Expand
So the problem seems to be in payment activation. Please check amember CP -> Logs -> Invoice Log, find records related to your test invoices and copy full log (IPN message received and exception generated by aMember)
incoming-request <invoice-log-item type="incoming-request"> <url> <method>POST</method> <scheme>http</scheme> <base_url>/member</base_url> <path_info>/payment/paypal/ipn</path_info> <host>www.webecommerce.info</host> <remote_addr>173.0.82.126</remote_addr> </url> <params> <param name="test_ipn">1</param> <param name="payment_type">echeck</param> <param name="payment_date">07:10:49 Jun 04, 2012 PDT</param> <param name="payment_status">Completed</param> <param name="address_status">confirmed</param> <param name="payer_status">verified</param> <param name="first_name">John</param> <param name="last_name">Smith</param> <param name="payer_email">buyer@paypalsandbox.com</param> <param name="payer_id">TESTBUYERID01</param> <param name="address_name">John Smith</param> <param name="address_country">United States</param> <param name="address_country_code">US</param> <param name="address_zip">95131</param> <param name="address_state">CA</param> <param name="address_city">San Jose</param> <param name="address_street">123, any street</param> <param name="business">seller@paypalsandbox.com</param> <param name="receiver_email">seller@paypalsandbox.com</param> <param name="receiver_id">TESTSELLERID1</param> <param name="residence_country">US</param> <param name="item_name">something</param> <param name="item_number">AK-1234</param> <param name="quantity">1</param> <param name="shipping">3.04</param> <param name="tax">2.02</param> <param name="mc_currency">USD</param> <param name="mc_fee">0.44</param> <param name="mc_gross">12.34</param> <param name="txn_type">web_accept</param> <param name="txn_id">49641410</param> <param name="notify_version">2.1</param> <param name="custom">xyz123</param> <param name="invoice">abc1234</param> <param name="charset">windows-1252</param> <param name="verify_sign">At8qQiJ5neXJ91ZQqY9JCbnUhJeYA7.fAd.teZBgLxe-smphW8FjmKpS</param> </params> </invoice-log-item> exception <invoice-log-item type="exception"> <type>Am_Exception_Paysystem</type> <message>Wrong IPN received, paypal [_notify-validate] answers: INVALID=200</message> <trace> <call> <function>Am_Paysystem_Transaction_Paypal->validateSource</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Am/Paysystem/Transaction/Incoming.php</file> <line>286</line> </call> <call> <function>Am_Paysystem_Transaction_Incoming->validate</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Am/Paysystem/Transaction/Abstract.php</file> <line>48</line> </call> <call> <function>Am_Paysystem_Transaction_Abstract->process</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Am/Paysystem/Transaction/Incoming.php</file> <line>232</line> </call> <call> <function>Am_Paysystem_Transaction_Incoming->process</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Am/Paysystem/Abstract.php</file> <line>430</line> </call> <call> <function>Am_Paysystem_Abstract->directAction</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/application/default/controllers/DirectController.php</file> <line>29</line> </call> <call> <function>DirectController->__call</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Am/Controller.php</file> <line>118</line> </call> <call> <function>Am_Controller->dispatch</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Zend/Controller/Dispatcher/Standard.php</file> <line>295</line> </call> <call> <function>Zend_Controller_Dispatcher_Standard->dispatch</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Zend/Controller/Front.php</file> <line>954</line> </call> <call> <function>Zend_Controller_Front->dispatch</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Am/App.php</file> <line>1517</line> </call> <call> <function>Am_App->run</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/index.php</file> <line>41</line> </call> </trace> </invoice-log-item>
Have you enabled aMember CP -> Setup -> Paypal -> Sandbox testing? This IPN message was received from sandbox server and it can't be validated by real paypal IPN validator.
Then, I tried with both sandbox that feels, but does not work anyway ... How can I do? incoming-request <invoice-log-item type="incoming-request"> <url> <method>POST</method> <scheme>http</scheme> <base_url>/member</base_url> <path_info>/payment/paypal/ipn</path_info> <host>www.webecommerce.info</host> <remote_addr>173.0.81.1</remote_addr> </url> <params> <param name="transaction_subject">Sistema Eiaculazione Precoce Online</param> <param name="payment_date">03:12:33 Jun 02, 2012 PDT</param> <param name="last_name">Vigini</param> <param name="residence_country">IT</param> <param name="item_name">Sistema Eiaculazione Precoce Online</param> <param name="payment_gross"/> <param name="mc_currency">EUR</param> <param name="business">info@webecommerce.info</param> <param name="payment_type">instant</param> <param name="protection_eligibility">Ineligible</param> <param name="verify_sign">AjLLU7Qe6AUFE4thSUQt9SRrJjuQAIYyEiBe8YW-PsY5vSu8sMolPYH.</param> <param name="payer_email">ale90_it@hotmail.com</param> <param name="txn_id">76P08084H1024333S</param> <param name="receiver_email">info@webecommerce.info</param> <param name="first_name">Alessandro</param> <param name="parent_txn_id">0XC152953W7364221</param> <param name="invoice">Q948E</param> <param name="payer_id">EYL599FYFEEME</param> <param name="receiver_id">N63VATLZMUNCJ</param> <param name="reason_code">refund</param> <param name="item_number"/> <param name="handling_amount">0.00</param> <param name="payment_status">Refunded</param> <param name="payment_fee"/> <param name="mc_fee">-0.24</param> <param name="shipping">0.00</param> <param name="mc_gross">-7.00</param> <param name="custom"/> <param name="charset">windows-1252</param> <param name="notify_version">3.4</param> <param name="ipn_track_id">2cbb7ba665c2c</param> </params> </invoice-log-item> exception <invoice-log-item type="exception"> <type>HTTP_Request2_ConnectionException</type> <message>Curl error: name lookup timed out</message> <trace> <call> <function>HTTP_Request2_Adapter_Curl::wrapCurlError</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/pear/HTTP/Request2/Adapter/Curl.php</file> <line>196</line> </call> <call> <function>HTTP_Request2_Adapter_Curl->sendRequest</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/pear/HTTP/Request2.php</file> <line>923</line> </call> <call> <function>HTTP_Request2->send</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Am/Paysystem/Transaction/Paypal.php</file> <line>90</line> </call> <call> <function>Am_Paysystem_Transaction_Paypal->validateSource</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Am/Paysystem/Transaction/Incoming.php</file> <line>286</line> </call> <call> <function>Am_Paysystem_Transaction_Incoming->validate</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Am/Paysystem/Transaction/Abstract.php</file> <line>48</line> </call> <call> <function>Am_Paysystem_Transaction_Abstract->process</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Am/Paysystem/Transaction/Incoming.php</file> <line>232</line> </call> <call> <function>Am_Paysystem_Transaction_Incoming->process</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Am/Paysystem/Abstract.php</file> <line>430</line> </call> <call> <function>Am_Paysystem_Abstract->directAction</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/application/default/controllers/DirectController.php</file> <line>29</line> </call> <call> <function>DirectController->__call</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Am/Controller.php</file> <line>118</line> </call> <call> <function>Am_Controller->dispatch</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Zend/Controller/Dispatcher/Standard.php</file> <line>295</line> </call> <call> <function>Zend_Controller_Dispatcher_Standard->dispatch</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Zend/Controller/Front.php</file> <line>954</line> </call> <call> <function>Zend_Controller_Front->dispatch</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/library/Am/App.php</file> <line>1517</line> </call> <call> <function>Am_App->run</function> <file>/home/ale90/domains/webecommerce.info/public_html/member/index.php</file> <line>41</line> </call> </trace> </invoice-log-item>
Ok. Do you get this on the same installation? Now error is different: Curl error: name lookup timed out There is a problem with DNS on your server where you have aMember installed. Contact hosting support, explain situation, give them error message: Curl error: name lookup timed out and ask to fix.
Tomm if you have this error: Curl error: name lookup timed out the problem is in hosting server configuration and you should contact hosting support and ask to fix this.