Show Posts


Topics - lydmanp

Pages: [1]
1
So when i make an order of an item that has a promotion of some amount and when i add it to cart and go to checkout, all is fine. I see promotion amount and the taxable value of that.
I confirm and go to paypal. Still everything fine but when it returns back to confirmation page, the tax value has disappeared and paypal sandox shows also that no tax was charged. Why ?
This seems like a bug to me.

I use abantecart 1.2.1

default_paypal_standart works ok.

2
Hi,

i have a problem mainly since i don't know how to get variables into my current site.
With get_defined_vars() function i get a "billion" lines long list of variables we can see from current page.

I want to get the products array but i cannot get how i could get the array eg. for echoing or other statements.
After the array listed below ther is a
[order_info] => Array
        (
         ...
         )

And that one i can "access" => print '<pre>' . htmlspecialchars(print_r($order_info, true)) . '</pre>';

I have this sections in mind:

[order_data:AOrder:private] => Array
                (
                    [store_id] => 0
                    [store_name] =>
                    [store_url] =>
                    [customer_id] =>
                    [customer_group_id] =>
                    [firstname] =>
                    [lastname] =>
                    [email] =>
                    [telephone] =>
                    ...
                    [payment_method] => PayPal Express Checkout
                    [products] => Array
                        (
                           
  • => Array

                                (
                                    [product_id] => 112
                                    [name] => Product name
                                    [model] =>
                                    [option] => Array
                                        (
                                           
  • => Array

                                                (
                                                    [product_option_value_id] => 748
                                                    [product_option_id] => 349
                                                    [name] => send file
                                                    [element_type] => U
                                                    [value] => filename.ext
                                                    [prefix] =>
                                                    [price] => 0.0000
                                                    [sku] =>
                                                    [weight] => 0.00000000
                                                    [weight_type] =>
                                                )

                                        )

                                    [download] => Array
                                        (
                                        )

                                    [quantity] => 5
                                    [price] => 1
                                    [total] => 5
                                    [tax] => 1.2
                                    [stock] => 1
                                    [sku] =>
                                )

                        )

                    [totals] => Array
                        (
                           
  • => Array

                                (
                                    [id] => subtotal
                                    [title] => subtotal:
                                    [text] => 5.00€
                                    [value] => 5
                                    [sort_order] => 1
                                    [total_type] => subtotal
                                )

                            [1] => Array
                                (
                                    [id] => shipping
                                    [title] => shippingfee:
                                    [text] => 8.30€
                                    [value] => 8.30
                                    [sort_order] => 3
                                    [total_type] => shipping
                                )

                            [2] => Array
                                (
                                    [id] => tax
                                    [title] => tax
                                    [text] => 1.20€
                                    [value] => 1.2
                                    [sort_order] => 5.1
                                    [total_type] => tax
                                )

                            [3] => Array
                                (
                                    [id] => total
                                    [title] => total:
                                    [text] => 14.50€
                                    [value] => 14.5
                                    [sort_order] => 1000
                                    [total_type] => total
                                )

                        )

                    [comment] =>
                    [total] => 14.5
                    [language_id] => 2
                    [currency_id] => 2
                    [currency] => EUR
                    [value] => 1.00000000
                    [coupon_id] => 0
                    [ip] => ...
                )

3
Payment Modules / standard PayPal checkout returns incomplete status
« on: February 22, 2015, 08:33:12 AM »
Hi,

When i use paypal in sandbox mode and make a paypal checkout, the process goes ok and paypal returns me to the checkout/success page in abantecart page. So ok until this but then when customer tries to open order history, the just made order cannot be seen.
In admin mode the order can be seen as incomplete and therefore is not seen in customer view.

This is seen when abantecart works from localhost or a webhotel or from the abantecart demo site.

Paypal express checkout seems to change state to processing, and works ok.

Some how i think this could be related to paypal side?

Please help me out if you know where i could start debugging.


Pages: [1]

Powered by SMFPacks Social Login Mod