cancel
Showing results for 
Search instead for 
Did you mean: 

Paypal Redirecting to the Error URL in case of successful payment also

Highlighted
Contributor

Paypal Redirecting to the Error URL in case of successful payment also

I am using PayPal Payflow Pro on my website. I am sending 4 redirect urls:
"RETURNURL" => 'http://##.##.##.###/extension/payment/pp_payflow_iframe/paymentreturn',

"CANCELURL" => 'http://##.##.##.###/extension/payment/pp_payflow_iframe/paymentcancel',

"ERRORURL" => 'http://##.##.##.###/extension/payment/pp_payflow_iframe/paymenterror',

"SILENTPOSTURL" => 'http://##.##.##.###/extension/payment/pp_payflow_iframe/paymentipn',

'SILENTTRAN' => true,

At the time of the generating the token.

The issue I am facing is that when the payment is successfully made it is also redirecting me back to the ERRORURL page not to the success page.
in the post request I am getting these data :
[BILLTOCITY] => San Francisco [AMT] => 1.00 [BILLTOSTREET] => #### Ramirez [SHIPTOCITY] => San Francisco [TENDER] => CC [NAMETOSHIP] => Steve Morrison [ZIP] => ##### [BILLTOLASTNAME] => Morrison [BILLTOFIRSTNAME] => Steve [RESPMSG] => Approved [TYPE] => A [STATETOSHIP] => CA [TAX] => 0.00 [NAME] => Steve Morrison [BILLTOZIP] => ##### [PNREF] => A##AAD###### [ZIPTOSHIP] => ##### [TRXTYPE] => A [SHIPTOCOUNTRY] => US [SHIPTOSTREET] => #### Ramirez [CITY] => San Francisco [HOSTCODE] => A [LASTNAME] => Morrison [STATE] => CA [SECURETOKEN] => 9laytlPUXVEyqx2XxGs9ZrQdu [CITYTOSHIP] => San Francisco [COUNTRYTOSHIP] => US [AVSDATA] => NNN [ACCT] => #### [AUTHCODE] => ###PNI [FIRSTNAME] => Steve [RESULT] => # [IAVS] => N [POSTFPSMSG] => No Rules Triggered [BILLTOSTATE] => CA [BILLTOCOUNTRY] => US [EXPDATE] => #### [CARDTYPE] => # [PREFPSMSG] => No Rules Triggered [SHIPTOZIP] => ##### [PROCAVS] => N [COUNTRY] => US [AVSZIP] => N [ADDRESS] => #### Ramirez [BILLTONAME] => Steve Morrison [ADDRESSTOSHIP] => #### Ramirez [AVSADDR] => N [SECURETOKENID] => MySecTokenID-#cab####b#### [SHIPTOSTATE] => CA [METHOD] => CC [TRANSTIME] => ####-##-## ##:##:## ) Array ( [BILLTOCITY] => San Francisco [AMT] => 1.00 [BILLTOSTREET] => #### Ramirez [SHIPTOCITY] => San Francisco [TENDER] => CC [NAMETOSHIP] => Steve Morrison [ZIP] => ##### [BILLTOLASTNAME] => Morrison [BILLTOFIRSTNAME] => Steve [RESPMSG] => Approved [TYPE] => A [STATETOSHIP] => CA [TAX] => 0.00 [NAME] => Steve Morrison [BILLTOZIP] => ##### [PNREF] => A##AAD###### [ZIPTOSHIP] => ##### [TRXTYPE] => A [SHIPTOCOUNTRY] => US [SHIPTOSTREET] => #### Ramirez [CITY] => San Francisco [HOSTCODE] => A [LASTNAME] => Morrison [STATE] => CA [SECURETOKEN] => 9laytlPUXVEyqx2XxGs9ZrQdu [CITYTOSHIP] => San Francisco [COUNTRYTOSHIP] => US [AVSDATA] => NNN [ACCT] => #### [AUTHCODE] => ###PNI [FIRSTNAME] => Steve [RESULT] => # [IAVS] => N [POSTFPSMSG] => No Rules Triggered [BILLTOSTATE] => CA [BILLTOCOUNTRY] => US [EXPDATE] => #### [CARDTYPE] => # [PREFPSMSG] => No Rules Triggered [SHIPTOZIP] => ##### [PROCAVS] => N [COUNTRY] => US [AVSZIP] => N [ADDRESS] => #### Ramirez [BILLTONAME] => Steve Morrison [ADDRESSTOSHIP] => #### Ramirez [AVSADDR] => N [SECURETOKENID] => MySecTokenID-#cab####b#### [SHIPTOSTATE] => CA [METHOD] => CC [TRANSTIME] => ####-##-## ##:##:## ) 

Please let me know why it is sending me to the error url page in case of approved payment and result 0 also.

Help will be highly appreciated !!
Thanks