Note that there are some explanatory texts on larger screens.

plurals
  1. POA question about paypal IPN
    text
    copied!<p>i download sample code from <a href="https://cms.paypal.com/cms_content/US/en_US/files/developer/nvp_DoDirectPayment_php.txt" rel="nofollow noreferrer">https://cms.paypal.com/cms_content/US/en_US/files/developer/nvp_DoDirectPayment_php.txt</a></p> <p>run and get </p> <pre><code>TIMESTAMP=2010%2d05%2d11T04%3a42%3a06Z&amp;CORRELATIONID=ac15852d1e958&amp;ACK=Failure&amp;VERSION=51%2e0&amp;BUILD=1268624&amp;L_ERRORCODE0=10002&amp;L_SHORTMESSAGE0=Security%20error&amp;L_LONGMESSAGE0=Security%20header%20is%20not%20valid&amp;L_SEVERITYCODE0=Error' (length=233) </code></pre> <p>what is problem ? api username ? api pass ? signature or anything else ?</p> <p>this infor i fill in source code:</p> <pre><code>// Set request-specific fields. $paymentType = urlencode('Authorization'); // or 'Sale' $firstName = urlencode('Nguyen'); $lastName = urlencode('Quang Trung'); $creditCardType = urlencode('Visa'); $creditCardNumber = urlencode(' 4111111111111111'); $expDateMonth = '04'; // Month must be padded with leading zero $padDateMonth = urlencode(str_pad($expDateMonth, 2, '0', STR_PAD_LEFT)); $expDateYear = urlencode('2015'); $cvv2Number = urlencode('5360 '); $address1 = urlencode('ha noi'); $address2 = urlencode('hcm'); $city = urlencode('ha noi'); $state = urlencode('ha noi state'); $zip = urlencode('84'); $country = urlencode('viet nam'); // US or other valid country code $amount = urlencode('900'); $currencyID = urlencode('USD'); // or other currency ('GBP', 'EUR', 'JPY', 'CAD', 'AUD') </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload