PaymentActionNotInitiated - please help

maxim7123
New Community Member

Hello,

 

I'm trying to integrate Paypal Express to my site and getting the strange error, please see detailed info about request/responce in the log.

Can anyone tell me why its happening? Thanks!

 

<event time="2018-06-23 10:01:08">
<invoice-log-item type="outgoing-request">
<method>POST</method>
<url>https://api-3t.sandbox.paypal.com/nvp</url>
<headers>
<header name="user-agent">
HTTP_Request2/2.0.0 (http://pear.php.net/package/http_request2) PHP/5.6.31-6+ubuntu16.04.1+deb.sury.org+1
</header>
<header name="content-type">application/x-www-form-urlencoded</header>
</headers>
<params>
<param name="SIGNATURE">
A86y2wqZAa6T52uUx71m3W2MuCPAYbzNreNdQmC323oYmbrPwNLEzw.K
</param>
<param name="VERSION">63.0</param>
<param name="USER">855935-facilitator_api1.gmail.com</param>
<param name="PWD">8XHBQJPA32WMSPUB</param>
<param name="METHOD">SetExpressCheckout</param>
<param name="RETURNURL">
https://dev0.mysite.com/amember/payment/paypal-express/express-checkout
</param>
<param name="CANCELURL">
https://dev0.mysite.com/amember/cancel?id=HBWTE-20132be7fe27b4a4
</param>
<param name="NOSHIPPING">1</param>
<param name="EMAIL">it was here but I removed</param>
<param name="SOLUTIONTYPE">Sole</param>
<param name="LANDINGPAGE">Billing</param>
<param name="CURRENCYCODE">USD</param>
<param name="PAYMENTREQUEST_0_AMT">9.00</param>
<param name="PAYMENTREQUEST_0_CURRENCYCODE">USD</param>
<param name="PAYMENTREQUEST_0_INVNUM">HBWTE-76f068c8a2f25278</param>
<param name="PAYMENTREQUEST_0_NOTIFYURL">
https://dev0.mysite.com/amember/payment/paypal-express/ipn
</param>
<param name="PAYMENTREQUEST_0_PAYMENTACTION">Sale</param>
<param name="L_PAYMENTREQUEST_0_NAME0">Tiny Subscription</param>
<param name="L_PAYMENTREQUEST_0_AMT0">9.00</param>
<param name="L_PAYMENTREQUEST_0_QTY0">1</param>
<param name="L_BILLINGTYPE0">RecurringPayments</param>
<param name="L_BILLINGAGREEMENTDESCRIPTION0">$9.00 for each 6 months</param>
<param name="LOCALECODE">US</param>
</params>
</invoice-log-item>
<invoice-log-item type="outgoing-request-response">
<headers>
<header name="date">Sat, 23 Jun 2018 10:01:09 GMT</header>
<header name="server">Apache</header>
<header name="x-slr-retry-api">SetExpressCheckout</header>
<header name="x-paypal-operation-name">SetExpressCheckout</header>
<header name="x-paypal-api-rc"/>
<header name="connection">close</header>
<header name="http_x_pp_az_locator">sandbox.slc</header>
<header name="paypal-debug-id">989f0c6259bb</header>
<header name="content-length">***</header>
<header name="content-type">text/plain; charset=utf-8</header>
</headers>
<body>
<![CDATA[
TOKEN=EC%2d18H62119S98502312&TIMESTAMP=2018%2d06%2d23T10%3a01%3a10Z&CORRELATIONID=989f0c6259bb&ACK=Success&VERSION=63%2e0&BUILD=47201799
]]>
</body>
</invoice-log-item>
<invoice-log-item type="paysystem-action" class="Am_Paysystem_Action_Redirect">
<url>https://www.sandbox.paypal.com/webscr</url>
<params>
<param name="cmd">_express-checkout</param>
<param name="token">EC-18H62119S98502312</param>
</params>
</invoice-log-item>
</event>
<event time="2018-06-23 10:02:16">
<invoice-log-item type="outgoing-request">
<method>POST</method>
<url>https://api-3t.sandbox.paypal.com/nvp</url>
<headers>
<header name="user-agent">
HTTP_Request2/2.0.0 (http://pear.php.net/package/http_request2) PHP/5.6.31-6+ubuntu16.04.1+deb.sury.org+1
</header>
<header name="content-type">application/x-www-form-urlencoded</header>
</headers>
<params>
<param name="SIGNATURE">
A86y2wqZAa6T52uUx71m3W2MuCPAYbzNreNdQmC323oYmbrPwNLEzw.K
</param>
<param name="VERSION">63.0</param>
<param name="USER">855935-facilitator_api1.gmail.com</param>
<param name="PWD">8XHBQJPA32WMSPUB</param>
<param name="METHOD">GetExpressCheckoutDetails</param>
<param name="TOKEN">EC-18H62119S98502312</param>
</params>
</invoice-log-item>
<invoice-log-item type="outgoing-request-response">
<headers>
<header name="date">Sat, 23 Jun 2018 10:02:16 GMT</header>
<header name="server">Apache</header>
<header name="x-slr-retry-api">GetExpressCheckoutDetails</header>
<header name="x-paypal-operation-name">GetExpressCheckoutDetails</header>
<header name="x-paypal-api-rc"/>
<header name="connection">close</header>
<header name="http_x_pp_az_locator">sandbox.slc</header>
<header name="paypal-debug-id">5a878a68711</header>
<header name="content-length">1397</header>
<header name="content-type">text/plain; charset=utf-8</header>
</headers>
<body>
<![CDATA[
TOKEN=EC%2d18H62119S98502312&BILLINGAGREEMENTACCEPTEDSTATUS=1&CHECKOUTSTATUS=PaymentActionNotInitiated&TIMESTAMP=2018%2d06%2d23T10%3a02%3a16Z&CORRELATIONID=5a878a68711&ACK=Success&VERSION=63%2e0&BUILD=47201799&EMAIL=855935%2dbuyer%40gmail%2ecom&PAYERID=UA2TLX3B4RLN6&PAYERSTATUS=verified&FIRSTNAME=test&LASTNAME=buyer&COUNTRYCODE=US&ADDRESSSTATUS=Confirmed&CURRENCYCODE=USD&AMT=9%2e00&ITEMAMT=9%2e00&SHIPPINGAMT=0%2e00&HANDLINGAMT=0%2e00&TAXAMT=0%2e00&INVNUM=HBWTE%2d76f068c8a2f25278&NOTIFYURL=https%3a%2f%2fdev0%2emysite%2ecom%2famember%2fpayment%2fpaypal%2dexpress%2fipn&INSURANCEAMT=0%2e00&SHIPDISCAMT=0%2e00&INSURANCEOPTIONOFFERED=false&L_NAME0=Tiny%20Subscription&L_QTY0=1&L_TAXAMT0=0%2e00&L_AMT0=9%2e00&PAYMENTREQUEST_0_CURRENCYCODE=USD&PAYMENTREQUEST_0_AMT=9%2e00&PAYMENTREQUEST_0_ITEMAMT=9%2e00&PAYMENTREQUEST_0_SHIPPINGAMT=0%2e00&PAYMENTREQUEST_0_HANDLINGAMT=0%2e00&PAYMENTREQUEST_0_TAXAMT=0%2e00&PAYMENTREQUEST_0_INVNUM=HBWTE%2d76f068c8a2f25278&PAYMENTREQUEST_0_NOTIFYURL=https%3a%2f%2fdev0%2emysite%2ecom%2famember%2fpayment%2fpaypal%2dexpress%2fipn&PAYMENTREQUEST_0_INSURANCEAMT=0%2e00&PAYMENTREQUEST_0_SHIPDISCAMT=0%2e00&PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID=855935%2dfacilitator%40gmail%2ecom&PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED=false&L_PAYMENTREQUEST_0_NAME0=Tiny%20Subscription&L_PAYMENTREQUEST_0_QTY0=1&L_PAYMENTREQUEST_0_TAXAMT0=0%2e00&L_PAYMENTREQUEST_0_AMT0=9%2e00
]]>
</body>
</invoice-log-item>
</event>
Login to Me Too
1 REPLY 1

MTS_Justin
Moderator
Moderator
Hello,

Checking the token, you've created the payment via SetExpressCheckout and requested the buyers information via GetExpressCheckoutDetails, but have not yet completed the payment using DoExpressCheckout.

Within the responses, the main thing to look at is the "ACK" response. If this shows "SUCCESS", then that part of the transaction has been completed successfully.

Was my post helpful? If so, please give me a kudos!
Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.