News:

AbanteCart v1.4.2 is released.

Main Menu

Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - sharon

#1
Thanks for the program. installed it as requested, cleared all cache (browser and AbanteCart) but the error is still occuring.
On return to step 2 from paypal express checkout the address still has the zone_id as blank - See attached address dump.
Thanks
Sharon

#2
Hi,
On futher investigation I think it maybe a bug as the addresses used on both the guest login and the paypal side are the same.
To try and debug a little I put a debug statment in the program shop/extensions/paypal_express_checkout/storefront/model/extension/paypal_express_checkout.php at line 51. as follows

$var= "ADDRESS KEYS:".print_r(array_keys($address),true)." ADDRESS VALUES: ".print_r(array_values($address),true);
ADebug::checkpoint($var);

and then ran Case 1 and Case 2 and captured the results from the Checkout Step 2 screen.

The attachments show  - the paypal addresses and checkout screens and the results for the debug statment for  case 1 (guest checkout) and case 2 (paypal express) . In the debug addresses, the  zone, zone_code and country_id are the same but in case 2 there is no zone_id.

Thanks for your quick response.

#3
I'm having problems with PayPal Express Checkout and weight based shipping. I am currently using the Paypal Sandbox Test environment
Case 1
All is OK when I use Paypal Express via the route
1. View Cart
2. Checkout button
3. Guest Checkout option
4. Guest Checkout Step 2 Page - This displays all shipping options correctly.

Case 2
However when I use the Paypal Express button from anywhere (for example on the view cart page) and complete the paypal payment screen, on return to
the Guest Checkout - Step 2 Page I get the error message
Error: No Shipping Options available.

The correct procesing of the Case 1 shows that the locations/zones/weights are set correctly.

In trying to debug this, I note that the SQL for selecting the zone_to_locations is different in the two cases as follows

Debug log
/var/www/html/shop/core/engine/extensions.php   LIne 821
Case 1
SELECT * FROM zones_to_locations WHERE location_id = '4' AND country_id = '222' AND (zone_id = '3534' OR zone_id = '0')
(where 222 is UK and zone_id 3534 is a correct the county for the address)

Case 2
SELECT * FROM zones_to_locations WHERE location_id = '2' AND country_id = '222' AND (zone_id = '0' OR zone_id = '0')
(where we have zone_id = 0 on both selections. There is no zone_id 0 setup in the tables)

I am presuming that the zone_id is not getting picked up correctly on return from paypal express processing and hence no shipping options can be found.

Could you shed any light on this as to a way forward for me.
Thanks

#4
I have set up my test system to be run locally and have set the Store URl in setting to be
http:/192.168.1.3/shop/
or
http:/localhost/shop/

The store works fine but I continually get the following entries in the error log

2014-06-28 19:21:37 - App Warning:  AbanteCart core v.1.1.9 Warning: Accessing store with unconfigured or unknown domain ( 192.168.1.3/shop/ ).
Check setting of your store domain URL in System Settings . Loading default store configuration for now. in /var/www/html/shop/core/lib/config.php on line 169

Reading other posts, it seems that this message is generated if the URL does not begin with www - is there a work around to prevent these warnings?

Thanks in advance
#5
Thank you.
I now understand and have run tests seeing that the product image size is as set in the system settings and the mouseover will move over / display the full sized image.

Thanks for the quick answer.
#6
Could anyone let me know the size of the image used for the mouseover enlarge function ?  I am trying to optimise my images for fast website loading. I realise that in System Settings the size of the product image and thumbnails etc can be set but can't find the size of the enlarged image - is it the original  image size ?
Thanks

Forum Rules Code of conduct
AbanteCart.com 2010 -