Advertisement:

Author Topic: Problem with paymet plugin  (Read 4076 times)

mr_ixs

  • Jr. Member
  • **
  • Posts: 53
Problem with paymet plugin
« on: November 14, 2013, 05:37:36 am »
At first i use the newest OSClass
But in older version was the same

I config correctly plugin. Pay per post ads enabled.
1. When I have unmarked "Use "Standard payments" if "Digital Goods" is not available in your country"
I add an ad... and click publish
I see headers and button to paypal... I click on it make a payment and it beck to my site with "There was a problem processing your payment. Please contact the administrators" But Ad is published

2.When I mark "Use "Standard payments" if "Digital Goods" is not available in your country"
It shows correctly without headers and next i Click payment.... Going to official paypal site... Ok
And when it come back... i have "We are processing your payment, if we did not finish in a few seconds, please contact us" but ad is not showing ?

HEADER WHEN I USE 1st OPTION:
Malformed header from CGI script: * Adding handle: conn: 0x3e81eb0 * Adding handle: send: 0 * Adding handle: recv: 0 * Curl_addHandleToPipeline: length: 1 * - Conn 5 (0x3e81eb0) send_pipe: 1, recv_pipe: 0 * About to connect() to api-3t.sandbox.paypal.com port 443 (#5) * Trying 23.37.43.42... * Connected to api-3t.sandbox.paypal.com (23.37.43.42) port 443 (#5) * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none * SSL connection using RC4-SHA * Server certificate: * subject: C=US; ST=CALIFORNIA; L=San Jose; O=PayPal, Inc.; OU=Partner Support; CN=api-3t.sandbox.paypal.com * start date: 2013-08-20 00:00:00 GMT * expire date: 2015-08-21 23:59:59 GMT * issuer: C=US; O=VeriSign, Inc.; OU=VeriSign Trust Network; OU=Terms of use at https://www.verisign.com/rpa (c)10; CN=VeriSign Class 3 Secure Server CA - G3 * SSL certificate verify ok. > POST /nvp HTTP/1.1 Host: api-3t.sandbox.paypal.com Accept: */* Content-Length: 936 Content-Type: application/x-www-form-urlencoded * upload completely sent off: 936 out of 936 bytes < HTTP/1.1 200 OK * Server Apache is not blacklisted < Server: Apache < Content-Length: 237 < Content-Type: text/plain; charset=utf-8 < DC: origin2-api-3t.sandbox.paypal.com < Date: Thu, 14 Nov 2013 03:44:17 GMT < Connection: keep-alive < Set-Cookie: DC=origin2-api-3t.sandbox.paypal.com; secure < * Connection #5 to host api-3t.sandbox.paypal.com left intact Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-type: text/html
« Last Edit: November 14, 2013, 06:46:45 am by mr_ixs »

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Problem with paymet plugin
« Reply #1 on: November 14, 2013, 10:47:57 am »
Which country is associated to your paypal account?

mr_ixs

  • Jr. Member
  • **
  • Posts: 53
Re: Problem with paymet plugin
« Reply #2 on: November 14, 2013, 04:43:42 pm »
I live in UK

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Problem with paymet plugin
« Reply #3 on: November 14, 2013, 05:01:04 pm »
Digital Goods should be working on UK.
Are you trying to use it in localhost ?

mr_ixs

  • Jr. Member
  • **
  • Posts: 53
Re: Problem with paymet plugin
« Reply #4 on: November 14, 2013, 05:08:15 pm »
Look I make an clean instalation, upgrade from web, and add payment plugin. There was problem with plugi because I have to add data from file struct.sql to my database.
And after i do this i test with sandbox enviroment.

I didn't add any themes.

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Problem with paymet plugin
« Reply #5 on: November 14, 2013, 05:11:13 pm »
1.- Are you using the plugin on your local machine/computer or o an internet-accessible server?
2.- Why did you have to add data from struct.sql file? Did the plugin not installed correctly?
3.- Did you add the prefix to the tables?

mr_ixs

  • Jr. Member
  • **
  • Posts: 53
Re: Problem with paymet plugin
« Reply #6 on: November 14, 2013, 05:16:45 pm »
I check first on localhost, and now I test it on server. And It still the same.

I checked   OSClass 3.2 Plugin Install corectly but still I've got  headers.

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Problem with paymet plugin
« Reply #7 on: November 14, 2013, 05:20:29 pm »
Really, if you don't answer the questions I will not be able to help you

2.- Why did you have to add data from struct.sql file? Did the plugin not installed correctly?
3.- Did you add the prefix to the tables?

mr_ixs

  • Jr. Member
  • **
  • Posts: 53
Re: Problem with paymet plugin
« Reply #8 on: November 18, 2013, 08:05:34 pm »
I hope i find a solution to this problem.

Some servers got a problem with CURL libraries or don't offer it

so in paypal options (plugin/payment/payments/paypal/paypal.php) we have to change 240 line

curl_setopt($ch, CURLOPT_VERBOSE, 1);
to
curl_setopt($ch, CURLOPT_VERBOSE, 0);

and you will have everything ok.

Please mark it as solved and  I hope it will help someone.

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: Problem with paymet plugin
« Reply #9 on: November 18, 2013, 08:29:29 pm »
you can edit your original post subject line yourself to add [solved}.  thank you very much, I hope this helps someone else

serjuc11111

  • Hero Member
  • *****
  • Posts: 814
Re: Problem with paymet plugin
« Reply #10 on: January 13, 2014, 10:21:48 pm »
why after i configured and activated paypal plugin ,when i click on item link this  send me to...
index.php?page=custom&route=payment-premium&itemId=45345
thx !