Jump to content

[ERROR] PayPal Process Problem


lodos3

Recommended Posts

Hello,

 

I understand that this problem has been talked about in some depth, but my problem still persists even in reference to an older post .

 

I can confirm that the zip / postal code is mandatory (as the paypal module throws this error when it has not been set), I can also confirm that I have looked into my event logs (apache logs and php related) and i still can not find the problem!

 

The payment (as described in the older post) still goes through, but the customer is left at a blank page (until they refresh and they get an error of somesort). I am using the original bootstrap theme, so I do not understand how a fresh install could pull up such an error (if the two already worked as they should?)

 

I have noticed that in the PayPal module manual, there is an option to select if the Theme overide's redirection page (or it infact uses the suggested one)...my module does not have this?

 

Can anyone help me with this please??

 

EDIT : I've put the PayPal module into TestMode (sandbox mode) and I get this error when I proceed to paypal.

 

  1. <b>PayPal response:</b>
  2. TIMESTAMP -> 2014-10-07T17:26:19Z
  3. L_ERRORCODE0 -> 10002
  4. L_SHORTMESSAGE0 -> Security error
  5. L_LONGMESSAGE0 -> Security header is not valid
  6. L_SEVERITYCODE0 -> Error
Edited by lodos3 (see edit history)
Link to comment
Share on other sites

Fatal error: Uncaught exception 'ImagickException' with message 'unable to open image `/var/sites/b/brightbusinessuk.co.uk/public_html/cache/tcpdf/mska_cb54a1cac316a02cdef8cc6f7fd7e851': No such file or directory' in /var/sites/b/brightbusinessuk.co.uk/public_html/tools/tcpdf/tcpdf.php:8618 Stack trace: #0 /var/sites/b/brightbusinessuk.co.uk/public_html/tools/tcpdf/tcpdf.php(8618): Imagick->writeimage('/var/sites/b/br...') #1 /var/sites/b/brightbusinessuk.co.uk/public_html/tools/tcpdf/tcpdf.php(8078): TCPDF->ImagePngAlpha('/var/sites/b/br...', 10, -63.5411944444, 370, 204, 95.0000722222, 52.3784181982, 'PNG', '', 'B', false, 300, '', 'cb54a1cac316a02...') #2 /var/sites/b/brightbusinessuk.co.uk/public_html/tools/tcpdf/tcpdf.php(23818): TCPDF->Image('/var/sites/b/br...', 10, -63.5411944444, 130.527777778, 71.9666666667, '', '', 'B', false, 300, '', false, false, 0, false, false, true) #3 /var/sites/b/brightbusinessuk.co.uk/public_html/tools/tcpdf/tcpdf.php(23214): TCPDF->openHTMLTagHandler(Array, 5, true) #4 /var/sites/b/br in/var/sites/b/brightbusinessuk.co.uk/public_html/tools/tcpdf/tcpdf.php on line 8618

Link to comment
Share on other sites

EDIT : I've put the PayPal module into TestMode (sandbox mode) and I get this error when I proceed to paypal.

 

You need to actually have a paypal sandbox account, and replace the API credentials with the sandbox credentials.

 

As for the error, I'm taking a guess here based on the stack trace you provided, but it seems that the invoice is failing to be created.  it is trying to locate some image and cannot

Fatal error: Uncaught exception 'ImagickException' with message 'unable to open image` /var/sites/b/brightbusinessuk.co.uk/public_html/cache/tcpdf/mska_cb54a1cac316a02cdef8cc6f7fd7e851': No such file or directory'
Link to comment
Share on other sites

I did do that actually, I've created my sandbox account and grabbed the business TEST API Credentials (DuH?)

 

I've scrapped PrestaShop and gone with Magento now anyways, SSL all sorted and everything works first time (shame the ACP is ugly).

Link to comment
Share on other sites

I did do that actually, I've created my sandbox account and grabbed the business TEST API Credentials (DuH?)

Then you would not receive the "Security header is not valid".  You need to replace your production API's with the Sandbox API's, and then switch to Sandbox mode.   (DUH?)...

 

I've scrapped PrestaShop and gone with Magento now anyways, SSL all sorted and everything works first time (shame the ACP is ugly).

 

Good for you!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...