G.kanojiya Posted January 24, 2012 Share Posted January 24, 2012 Hi there.... I am facing problem regarding credit card transaction ....an error i am keep on getting "Security header is not valid"....i searched for that but all are saying that its because of using "wrong credentials"...but i have gone through all my docs....i think i am using the right one......anyone there to help me out please....i really need it to get done.........thanxx..... Quote Link to comment https://forums.phpfreaks.com/topic/255658-paypal-credit-card-transaction-error/ Share on other sites More sharing options...
phpSensei Posted January 24, 2012 Share Posted January 24, 2012 This error occurs for the following reasons: 1. Wrong credentials 2. Wrong Endpoint 3. not used urlencode 4. Sometime wrong date formate. Quote Link to comment https://forums.phpfreaks.com/topic/255658-paypal-credit-card-transaction-error/#findComment-1310564 Share on other sites More sharing options...
G.kanojiya Posted January 24, 2012 Author Share Posted January 24, 2012 Thanx for answering Sesei...I will figure out all those points..... Quote Link to comment https://forums.phpfreaks.com/topic/255658-paypal-credit-card-transaction-error/#findComment-1310570 Share on other sites More sharing options...
G.kanojiya Posted January 25, 2012 Author Share Posted January 25, 2012 Yessssss........atlast I found the error...I were not defining paypal_username, password and signature and these lines in my script were commented related to the Transaction_id.... print_r($httpParsedResponseAr); echo 'Direct Payment Completed Successfully: '; print_r ($httpParsedResponseAr['TRANSACTIONID']); and also the country code i were entering was not valid......But now everything is perfect....... Thanx all Quote Link to comment https://forums.phpfreaks.com/topic/255658-paypal-credit-card-transaction-error/#findComment-1310892 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.