Hi a get a error in paypal pro DoDirectPayment API Operation (NVP) 10548

steve_ezon
New Community Member

hi a work in python a realize a requests  DoDirectPayment API Operation (NVP)

here my code 

data2 = {
'USER':USERNAME_LIVE,
'PWD':PASSWORD_LIVE,
'SIGNATURE':SIGNATURE_LIVE,
'VERSION': VERSION,
'IPADDRESS':'192.168.0.11',
'METHOD':'DoDirectPayment',
'PAYMENTACTION':'Sale',
'CREDITCARDTYPE':CARD_TYPE ,
'ACCT':CARD_NUMBER,
'EXPDATE':CARD_EXPDATE,
'CVV2':SECRECT_CODE,
'FIRSTNAME':'ANGEL',
'LASTNAME':'<removed>',
'EMAIL': USER_EMAIL,
'STREET':'<removed>',
'CITY': 'Miami',
'STATE':'FL',
'COUNTRYCODE': 'US',
'ZIP':'33130',
'AMT':'1.00',
'CURRENCYCODE':'USD',
'DESC':'plan description'
}
try:
response = requests.post(URL_LIVE, data=data2)
print(response)
print(response.text)
except requests.exceptions.HTTPError as err:
print(err)

when I make requests with sandbox everything is fine but now when I make the same request with the real data, does the error raise any idea?

Login to Me Too
1 REPLY 1

Snow-Cat
Advisor
Advisor

You may want to visit the Merchant Support Community as there are other developers and PayPal Techs who may be able to assist.

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.