Post by markus22mb » Mon Mar 25, 2019 2:45 am

After reinstall Journal theme i still doesnt get back my page or Journal theme editor on my backend,.....i think some files from bug fix content was changed in sistem folder,...but i dont have bakup,..

Right now i uninstall PayPayl extension and clear cache and i get my page BACK,.... but problem with paypal still exist:(
Last edited by markus22mb on Mon Mar 25, 2019 3:05 am, edited 1 time in total.

Newbie

Posts

Joined
Wed Dec 30, 2015 6:17 am

Post by blocks1 » Mon Mar 25, 2019 2:57 am

Your hosting company must have a backup? I would contact them via chat box and ask if they can restore your site..

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Mon Mar 25, 2019 3:10 am

Right now i uninstall PayPayl extension and clear cache and i get my page BACK,.... but problem with paypal still exist:(
No details provided. As my last reply indicates, log entries have been added. Check your logs.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Mon Mar 25, 2019 3:51 am

For those who are using PayPal Braintree with Express Checkout, be reminded that this topic resolves the issue: viewtopic.php?f=201&t=205558&p=748351#p748351 . However, the topic we're currently on only discloses issues with PayPal Express Checkout; not with Braintree. If an issue persists regarding a blank page being involved during a transaction process, even with the fix, then it is possible you might be using Braintree.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by markus22mb » Mon Mar 25, 2019 5:02 am

Here are my logs: ( this happend when i install bug fix pack and remove/install Paypal module again,.......when i uninstal paypal module and get my page back there was no logs written

2019-03-24 18:01:53 - PHP Warning: constant(): Couldn't find constant JOURNAL3_VERSION in /var/www/vhosts/zavarovan.com/trgovina.rescue.si/system/library/template/Twig/Extension/Core.php on line 1515
2019-03-24 18:02:03 - PHP Warning: constant(): Couldn't find constant JOURNAL3_VERSION in /var/www/vhosts/zavarovan.com/trgovina.rescue.si/system/library/template/Twig/Extension/Core.php on line 1515
2019-03-24 18:03:03 - PHP Warning: imagecreatetruecolor(): Invalid image dimensions in /var/www/vhosts/zavarovan.com/trgovina.rescue.si/system/library/image.php on line 169
2019-03-24 18:03:03 - PHP Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in /var/www/vhosts/zavarovan.com/trgovina.rescue.si/system/library/image.php on line 177
2019-03-24 18:03:03 - PHP Warning: imagefilledrectangle() expects parameter 1 to be resource, boolean given in /var/www/vhosts/zavarovan.com/trgovina.rescue.si/system/library/image.php on line 180
2019-03-24 18:03:03 - PHP Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /var/www/vhosts/zavarovan.com/trgovina.rescue.si/system/library/image.php on line 182
2019-03-24 18:03:03 - PHP Warning: imagecreatetruecolor(): Invalid image dimensions in /var/www/vhosts/zavarovan.com/trgovina.rescue.si/system/library/image.php on line 169
2019-03-24 18:03:03 - PHP Warning: imagecolorallocate() expects parameter 1 to be resource, boolean given in /var/www/vhosts/zavarovan.com/trgovina.rescue.si/system/library/image.php on line 177
2019-03-24 18:03:03 - PHP Warning: imagefilledrectangle() expects parameter 1 to be resource, boolean given in /var/www/vhosts/zavarovan.com/trgovina.rescue.si/system/library/image.php on line 180
2019-03-24 18:03:03 - PHP Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /var/www/vhosts/zavarovan.com/trgovina.rescue.si/system/library/image.php on line 182
2019-03-24 18:03:03 - PHP Warning: constant(): Couldn't find constant JOURNAL3_VERSION in /var/www/vhosts/zavarovan.com/trgovina.rescue.si/system/library/template/Twig/Extension/Core.php on line 1515

Newbie

Posts

Joined
Wed Dec 30, 2015 6:17 am

Post by straightlight » Mon Mar 25, 2019 5:06 am

Journal cache issue. Nothing related with this extension since it is about a missing constant called: JOURNAL3_VERSION . The original coding of this extension payment does not support Journal3 in anyhow. In addition, if by reverting the PayPal extensions to its previous state does not show you these error messages, especially about trueimagecolor function, then it means the previous version is even worst.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by markus22mb » Mon Mar 25, 2019 5:18 am

Im very disappointed, because Journal stuff says that Paypal express checkout is OC problem and they suggest downgrade to 3.0.2. version,.... i was reading that 3.0.2. has same problem,.....and now you told me that problem is with Journal,... im just regular user which doesnt know a lot of programing and have now that bad situation,....If you maybe have some information what to do or. what to try please help me because now im stuck,....before that bugfix install i can choose deafult OC layout for checkout page and my page was work with OC layout for checkout,....but now when i install paypal module again, the whole site doesnt work,....i hope that you kindly understand my situation right now,...and i will be more than happy if get some usefull information to fix my problem.

My deafault problem is that when i want to finish order in ajax quick checkout form (not in OC deafult) the confirmation button doesnt work-reacting,...Paypal popup window doesnt show up,...confirmation button just change color,.... and nothing happend,....the same problem i got with Paypal BrainTree,....works only cash at delivery option,....

Newbie

Posts

Joined
Wed Dec 30, 2015 6:17 am

Post by straightlight » Mon Mar 25, 2019 5:49 am

markus22mb wrote:
Mon Mar 25, 2019 5:18 am
Im very disappointed, because Journal stuff says that Paypal express checkout is OC problem and they suggest downgrade to 3.0.2. version,.... i was reading that 3.0.2. has same problem,.....and now you told me that problem is with Journal,... im just regular user which doesnt know a lot of programing and have now that bad situation,....If you maybe have some information what to do or. what to try please help me because now im stuck,....before that bugfix install i can choose deafult OC layout for checkout page and my page was work with OC layout for checkout,....but now when i install paypal module again, the whole site doesnt work,....i hope that you kindly understand my situation right now,...and i will be more than happy if get some usefull information to fix my problem.

My deafault problem is that when i want to finish order in ajax quick checkout form (not in OC deafult) the confirmation button doesnt work-reacting,...Paypal popup window doesnt show up,...confirmation button just change color,.... and nothing happend,....the same problem i got with Paypal BrainTree,....works only cash at delivery option,....
The best option would be to try this fix on a fresh OC installation without any extensions other than the PayPal Express Checkout fix I provided. This way, you'll have a definite result knowing if it's working or not by also following the Unmatched Zones tab before trying an order from scratch.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by markus22mb » Mon Mar 25, 2019 6:02 am

ok, thank you for your help,...

Newbie

Posts

Joined
Wed Dec 30, 2015 6:17 am

Post by blocks1 » Thu Mar 28, 2019 3:21 am

works opencart 3.0.3.1 with Journal theme 3.

atleast i just put six orders through without an issue.. the only thing i can see thats annoying is the fact that order options arent present with the paypal invoice


thanks for this fix its near perfection!

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by blocks1 » Thu Mar 28, 2019 3:29 am

ok i recieved this upon ordering a different product

Either the store or PayPal cannot process the order with the selected country name: United Kingdom as it cannot find the related zone name. Please contact Store owner for more information.

log results:

Code: Select all

2019-03-27 19:43:03 - PayPal Express debug (Call data): {"METHOD":"SetExpressCheckout","MAXAMT":1.4899999999999999911182158029987476766109466552734375,"RETURNURL":"https:\/\/mywebsite.com\/index.php?route=extension\/payment\/pp_express\/expressReturn","CANCELURL":"http:\/\/mywebsite.com\/index.php?route=checkout\/cart","REQCONFIRMSHIPPING":0,"NOSHIPPING":2,"ALLOWNOTE":"0","LOCALECODE":"EN","LANDINGPAGE":"Login","HDRIMG":null,"PAYFLOWCOLOR":"","CHANNELTYPE":"Merchant","PAYMENTREQUEST_0_SHIPPINGAMT":"","PAYMENTREQUEST_0_CURRENCYCODE":"GBP","PAYMENTREQUEST_0_PAYMENTACTION":"Sale","L_PAYMENTREQUEST_0_NAME0":"product for sale","L_PAYMENTREQUEST_0_NUMBER0":"DFBK","L_PAYMENTREQUEST_0_AMT0":0.9899999999999999911182158029987476766109466552734375,"L_PAYMENTREQUEST_0_QTY0":1,"L_PAYMENTREQUEST_0_ITEMURL0":"http:\/\/mywebsite.com\/product for-sale-ball-kit","PAYMENTREQUEST_0_ITEMAMT":"0.99","PAYMENTREQUEST_0_AMT":"0.99"}
2019-03-27 19:43:04 - PayPal Express debug (Result): "TOKEN=EC%2d72W87616LX743823B&TIMESTAMP=2019%2d03%2d27T19%3a43%3a04Z&CORRELATIONID=1a4e50ba17f88&ACK=Success&VERSION=109%2e0&BUILD=000000"
2019-03-27 19:43:21 - PayPal Express debug (Call data): {"METHOD":"GetExpressCheckoutDetails","TOKEN":"EC-72W87616LX743823B"}
2019-03-27 19:43:21 - PayPal Express debug (Result): "TOKEN=EC%2d72W87616LX743823B&BILLINGAGREEMENTACCEPTEDSTATUS=0&CHECKOUTSTATUS=PaymentActionNotInitiated&TIMESTAMP=2019%2d03%2d27T19%3a43%3a21Z&CORRELATIONID=1f0d48d595230&ACK=Success&VERSION=109%2e0&BUILD=000000&EMAIL=andrew%40taylormail%2eco%2euk&PAYERID=728BQ6EWV94QL&PAYERSTATUS=verified&BUSINESS=Larpull&SALUTATION=Mr%2e&FIRSTNAME=andrew&LASTNAME=taylor&COUNTRYCODE=GB&SHIPTONAME=andrew%20taylor&SHIPTOSTREET=12%20sunnyville&SHIPTOSTREET2=stonetown&SHIPTOCITY=london&SHIPTOZIP=se3%208ug&SHIPTOCOUNTRYCODE=GB&SHIPTOCOUNTRYNAME=United%20Kingdom&ADDRESSSTATUS=Confirmed&CURRENCYCODE=GBP&AMT=0%2e99&ITEMAMT=0%2e99&SHIPPINGAMT=0%2e00&HANDLINGAMT=0%2e00&TAXAMT=0%2e00&INSURANCEAMT=0%2e00&SHIPDISCAMT=0%2e00&INSURANCEOPTIONOFFERED=false&L_NAME0=product for%20sale%20Ball%20Kit&L_NUMBER0=DFBK&L_QTY0=1&L_TAXAMT0=0%2e00&L_AMT0=0%2e99&PAYMENTREQUEST_0_CURRENCYCODE=GBP&PAYMENTREQUEST_0_AMT=0%2e99&PAYMENTREQUEST_0_ITEMAMT=0%2e99&PAYMENTREQUEST_0_SHIPPINGAMT=0%2e00&PAYMENTREQUEST_0_HANDLINGAMT=0%2e00&PAYMENTREQUEST_0_TAXAMT=0%2e00&PAYMENTREQUEST_0_INSURANCEAMT=0%2e00&PAYMENTREQUEST_0_SHIPDISCAMT=0%2e00&PAYMENTREQUEST_0_SELLERPAYPALACCOUNTID=test%2epaypalaccount%40aol%2ecom&PAYMENTREQUEST_0_INSURANCEOPTIONOFFERED=false&PAYMENTREQUEST_0_SHIPTONAME=andrew%20taylor&PAYMENTREQUEST_0_SHIPTOSTREET=12%20sunnyville&PAYMENTREQUEST_0_SHIPTOSTREET2=stonetown&PAYMENTREQUEST_0_SHIPTOCITY=london&PAYMENTREQUEST_0_SHIPTOZIP=se3%208ug&PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE=GB&PAYMENTREQUEST_0_SHIPTOCOUNTRYNAME=United%20Kingdom&PAYMENTREQUEST_0_ADDRESSSTATUS=Confirmed&L_PAYMENTREQUEST_0_NAME0=product for%20sale%20Ball%20Kit&L_PAYMENTREQUEST_0_NUMBER0=DFBK&L_PAYMENTREQUEST_0_QTY0=1&L_PAYMENTREQUEST_0_TAXAMT0=0%2e00&L_PAYMENTREQUEST_0_AMT0=0%2e99&PAYMENTREQUESTINFO_0_ERRORCODE=0"
could this be due to a one page checkout system that journal offer? maybe i should switch to default opencart store view?

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Thu Mar 28, 2019 4:19 am

Due to this:
"PAYMENTREQUEST_0_ITEMAMT":"0.99","PAYMENTREQUEST_0_AMT":"0.99"}
Below a dollar. Must be 1.00 minimum. In addition, the ship to state returned is empty. Ensure that the unrelated zones tab in your OC Admin PP Express Checkout extension payment module page are all validated.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by blocks1 » Thu Mar 28, 2019 4:29 am

straightlight wrote:
Sun Mar 24, 2019 10:32 pm
@JNeuhoff: Patch updated including the zones request.

Alright folks. The latest patch is now ready. Simply follow the same instructions on the first post and also visit the new feature called: Unmatched Zones tab in your admin - > extensions - > extensions - > payments - > PayPal Express Checkout page. Also ensure to have an allowable post max size set in your php.ini in order for the installation to integrate the PayPal list on your database.

Also to note I have added more log entries during the transactions (should be viewable on the same location as described on the paragraph above or directly on the Paypal log file) from the catalog-end side as well as more error messages to help store owners and forum supporters identifying the source of the issues.

Added new method validations on Model files for definite tracking of the ship to state records while the transaction handshake with PayPal Express Checkout API. Also moved the IPN codes from the catalog controller to the model file since there are no requirements for the data array to be used nor any redirections involved. The file size of the catalog controller has now been reduced for performance as well as being well-balanced with the catalog model file.
i cannot seem to get post_max_size up without getting a 500 server error on the front end when adjusting the .htaccess file..

also when i check the codes zones tab in pp express there isnt anything there.. i guess i need to contact my host

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Thu Mar 28, 2019 4:31 am

i cannot seem to get post_max_size up without getting a 500 server error on the front end when adjusting the .htaccess file..
In your php.ini file.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by blocks1 » Thu Mar 28, 2019 4:33 am

i did that already, i thought maybe try the htaccess file aswell incase the comment # had an impact on the php.ini file..

not sure why it wont populate the zones? ill take another look


i presume the unmatched zones tab should populate itself on installation of the extension?

thanks
A


EDIT: ok i got the postmax size confirmed 999M so uninstalled and reinstalled the extension, doesnt seem to populate the unmatched zones tab with anything, presuming i am missing something here?

New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Thu Mar 28, 2019 6:04 am

EDIT: ok i got the postmax size confirmed 999M so uninstalled and reinstalled the extension, doesnt seem to populate the unmatched zones tab with anything, presuming i am missing something here?[
In your PayPal Zone table, how many rows do you have?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by blocks1 » Thu Mar 28, 2019 4:48 pm

please see attached,

A

Attachments

pp-table.jpg

pp-table.jpg (81.24 KiB) Viewed 5332 times


New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Thu Mar 28, 2019 5:53 pm

I was referring to your paypal_zone on the database; how many rows do you have?

In the mean time, see if that also fixes the issue about what you are reporting from this PayPal response: viewtopic.php?f=201&t=210405

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by blocks1 » Thu Mar 28, 2019 6:13 pm

see attached, 427 rows in that table



thanks
a

Attachments

pp-zone.png

pp-zone.png (35.86 KiB) Viewed 5310 times


New member

Posts

Joined
Thu Feb 08, 2018 11:14 am

Post by straightlight » Fri Mar 29, 2019 4:38 am

Half question answered. As for the 2nd solution above, did you tried it?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 18 guests