Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

X-Cart reBOOT (reDUX) Template

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #541  
Old 01-05-2024, 12:21 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

@ Sinobest, disable the "Block known bad bots" setting in reBOOT Settings > Security.

One or more of the entries in /reboot/.bad_bots.php needs removing, but I don't know which at the moment.

After disabling it, I was able to get the rich result tester to work.

https://search.google.com/test/rich-results/result?id=QCmBTUAP_FocfQPJXewMNQ
__________________
xcartmods.co.uk
Reply With Quote
  #542  
Old 01-11-2024, 11:37 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

Update: in /reboot/.bad_bots.php

Remove this line around line 714...
Code:
"inspect",
Info at https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers

If you would prefer to block bad bots via robots.txt instead, this might be useful.
__________________
xcartmods.co.uk
Reply With Quote

The following 2 users thank PhilJ for this useful post:
Dougrun (01-12-2024), peggyr (01-20-2024)
  #543  
Old 01-15-2024, 05:38 AM
 
vulcan-works vulcan-works is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 143
 

Default Re: X-Cart reBOOT (reDUX) Template

Did you get paypal checkout working?
__________________
X-cart--4.7.12

vulcanworks.net
Reply With Quote
  #544  
Old 01-16-2024, 10:28 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

@ Vulcan and others, I think I've just got it working (test store), so I'll put the patch files together and put them on the support site shortly.

The issue I was having was due to "UNPROCESSABLE_ENTITY" | "ITEM_TOTAL_MISMATCH" : Should equal sum of unit_amount * quantity across all items for a given purchase_unit. - Info

Basically the checkout cart total amount didn't match up, but after tweaking the tax settings, it started working.

I don't know whether QT have accounted for that scenario in the new module or not. It only seems to work with the One Page Checkout also.


In Shipping & Taxes > Tax details > Your tax rate

- Included in product price (new PP works if unchecked)
- Display product price including tax (new PP works if unchecked)

This was in the error log... (you need to have 'Log requests' enabled in the module settings to see them - /admin/configuration.php?option=Paypal_Checkout).
Code:
"response": { "headers": [ "HTTP/1.1 422 Unprocessable Entity", "Content-Type: application/json", "Paypal-Debug-Id: 41b51051edf94", "Content-Length: 555" ], "result_data": { "name": "UNPROCESSABLE_ENTITY", "details": [ { "field": "/purchase_units/@reference_id=='default'/amount/breakdown/item_total/value", "value": "14.87", "issue": "ITEM_TOTAL_MISMATCH", "description": "Should equal sum of (unit_amount * quantity) across all items for a given purchase_unit" } ], "message": "The requested action could not be performed, semantically incorrect, or failed business validation.", "debug_id": "41b51051edf94", "links": [ { "href": "https://developer.paypal.com/docs/api/orders/v2/#error-ITEM_TOTAL_MISMATCH", "rel": "information_link", "method": "GET" } ] } }
__________________
xcartmods.co.uk
Reply With Quote
  #545  
Old 01-16-2024, 12:50 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

Patch files for PayPal v2 are now up here. Please read the warnings before installing. Feedback welcome.
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
peggyr (01-20-2024)
  #546  
Old 01-20-2024, 02:25 PM
  peggyr's Avatar 
peggyr peggyr is offline
 

X-Adept
  
Join Date: Dec 2005
Posts: 631
 

Default Re: X-Cart reBOOT (reDUX) Template

Thanks Phil,

I use Fast lane checkout, and going to start looking at your mods to the paypal update on one-page checkout -- on my test site with fast lane checkout

I hadn't been interested in migrating to the new paypal module, as I didn't want many of the things it offered, and was happy with standard paypal for the few paypal orders I get.

I'll let you know if I have any success, and what I did using your one-page checkout mods

Cheers
Peggy
__________________
X-Cart GP 4.7.12 | XCARTMODS.CO.UK reBOOT (reDUX)4.7.12.8 | Live
IONOS Hosting | Linux | PHP 7.4.33 | MySQL 5.7
Reply With Quote

The following 2 users thank peggyr for this useful post:
ITVV (01-22-2024), PhilJ (01-20-2024)
  #547  
Old 01-20-2024, 03:23 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

Thanks Peggy I'll try and get it working with FLC and report back if successful.
__________________
xcartmods.co.uk
Reply With Quote

The following 2 users thank PhilJ for this useful post:
ITVV (01-22-2024), peggyr (01-20-2024)
  #548  
Old 01-26-2024, 09:32 AM
  peggyr's Avatar 
peggyr peggyr is offline
 

X-Adept
  
Join Date: Dec 2005
Posts: 631
 

Default Re: X-Cart reBOOT (reDUX) Template

Hi Phil,

In my initial testing of Paypal Checkout, using my Paypal Business account in Developer mode, the 'features' appear to be incorrect. At this point, I am using One-Cart-checkout Redux option with your updates using 4.7.12.8 level of code

The first checkbox for "Advanced Credit and Debit Card Payments"
PayPal payment buttons plus customized card fields" on the left, while it appears 'checked' it also appears disabled, as I can't change anything in it. See attached.

If this is a problem, is this a problem I need to get PAYPAL to fix on my business account in Sandbox mode where I have generated REST/API credentials for Client ID and Secret Key?

I never get anything back to my test shopping cart. The error code I get from PayPal, doesn't give me much info, other than the name, email and address fields are all populated with **** (maybe that's what they are supposed to be, versus actual data - or maybe that is the problem.)

PP status code is 201. My x-cart logs show no debugging data for this transaction. It appears, I have never received any acknowledgement back from the Paypal call.

If anyone has any ideas on where to look for debugging info, thanks in advance.

I guess the better question might be, how can you determine if your Paypal Sandbox API Credentials are set up correctly to test the X-cart paypal checkout option on. I'm now opening up a question on the paypal forum site.

Peggy
Attached Images
File Type: jpg PP-Sandbox-setup-disabled.JPG (36.5 KB, 2 views)
__________________
X-Cart GP 4.7.12 | XCARTMODS.CO.UK reBOOT (reDUX)4.7.12.8 | Live
IONOS Hosting | Linux | PHP 7.4.33 | MySQL 5.7
Reply With Quote
  #549  
Old 01-27-2024, 01:01 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

Hi Peggy, I believe code 201 is a successful response. The logs in /var/log should give you an indication if there's any errors or not (in the PayPal module settings, 'Log requests' needs to be enabled).

https://developer.paypal.com/api/rest/responses/
__________________
xcartmods.co.uk
Reply With Quote

The following user thanks PhilJ for this useful post:
peggyr (01-27-2024)
  #550  
Old 02-01-2024, 07:02 AM
 
sales@nutrishopindia.com sales@nutrishopindia.com is offline
 

Member
  
Join Date: Jan 2012
Posts: 10
 

Default Re: X-Cart reBOOT (reDUX) Template

any can help in xcart issues

1) forget passwords not working for user
2) we need sms login can any make this application
3) how to edit meta for pages like manufacturer.php and others
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:13 PM.

   

 
X-Cart forums © 2001-2020