Paypal Redirecting to the Error URL in case of successful payment also
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Has this ever been resolved? I am having the same problem and have yet to find a resolution. Thank you.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- My webhook stopped working 2 weeks ago in REST APIs
- paypal recurring payments and ipn management in REST APIs
- How to redirect user to paypal checkout form for card payment? in PayPal Payments Standard
- About "Capture payment for order",How do I know if the payment was successful? in REST APIs
- Paypal payment error analysis and root cause in NVP/SOAP APIs