에 대한 질문 내가 https://cms.paypal.com/cms_content/US/en_US/files/developer/nvp_DoDirectPayment_php.txt페이팔 IPN
실행에서 샘플 코드를 다운로드하고
TIMESTAMP=2010%2d05%2d11T04%3a42%3a06Z&CORRELATIONID=ac15852d1e958&ACK=Failure&VERSION=51%2e0&BUILD=1268624&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Security%20error&L_LONGMESSAGE0=Security%20header%20is%20not%20valid&L_SEVERITYCODE0=Error' (length=233)
문제가 무엇을 얻을? api 사용자 이름? API 패스? 서명이나 다른 거?
내가 소스 코드를 입력이 INFOR :
// 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')
어 ...의 발견은 무엇? 정확히 문제가 무엇입니까? –
내가 TIMESTAMP = 2010 % 2d05 % 2d11T04 % 3a42 % 3a06Z & CorrelationID를 = ac15852d1e958 및 ACK = 실패 및 VERSION = 51 % 2e0를 얻을 수 및 빌드 할 때 = 1268624 & L_ERRORCODE0 = 10002 & L_SHORTMESSAGE0 = 보안 % 20error & L_LONGMESSAGE0 = 보안 % 20header % 20is % 20not % 20 유효하지 않습니다 & L_SEVERITYCODE0 = 오류 '(길이 = 233) ACK = 실패 및보기 코드, 결제 실패로 생각하고 멈추는 이유를 모릅니다. 거래? – Chameron