Show Posts


Messages - abolabo

Pages: 1 ... 119 120 [121] 122 123 ... 137
1801
Extensions and Add-Ons / Re: Payment failed flow
« on: March 13, 2013, 12:58:40 AM »
to see orders with status id 0 check extension  Abandoned orders in menu Extensions->Extension Store.

1802
Support / Re: How to use Handling Fee in the extension Order total?
« on: March 12, 2013, 05:24:20 AM »

I mean that I have chosen any type of the handling fee. It will also apply the handling fee to the order. In my opinion, type "Fee" should be applied to shipping or payment handling fee, type "sub-total" should be applied to sub-total, type "total" should be applied to order final total amount, type "discount" should be applied to sub-total and a discount should be given but it doesn't work. all the orther types are the same result.
You should better add a description to explain the purpose of each "type" in the extension.

Thank you.
NO. Type does not mean that fee amount must be applied to something.
AbanteCart works with total by approach "one "total" - 1 row in order summary".
I think detailed information better for this. at least clear...

1803
Support / Re: How to use Handling Fee in the extension Order total?
« on: March 12, 2013, 12:08:29 AM »
No. Handling fee is depended on Order sub-total. If you set for ex. $20 "order total" that's mean fee will apply for all orders that have sub-total less than $20.
Field Type is not useless.
You can look into table order_totals and you'll find it there. Also you can to see it in order details. We added this sign ( type ) for recognizing types of totals for future flexible statistics ...or something more

1804
Support / Re: How to use Handling Fee in the extension Order total?
« on: March 11, 2013, 07:28:17 AM »
it's sql data bug.
change "key" for it in table "extensions" from "handling_ fee" to "handling"
or run sql

Code: [Select]
UPDATE `YOUR_DB_PREFIXextensions` SET `key`='handling' where `key`='handling_fee'

1805
Extensions and Add-Ons / Re: Payment failed flow
« on: March 11, 2013, 04:51:23 AM »
Hi

Im writing an extension to support a new payment method but got some issues below:

1. If a payment transaction failed, I need to record the error message in the order backend for administrator reference.
$this->model_checkout_order->update($cart_id, $this->config->get('default_checkout_frame_order_status_id'), $Message, FALSE);

For this Im assuming I need to confirm that order using $this->model_checkout_order->confirm()
This will clear the shopping cart and wont let the customer try the payment again
What I want is to save error message returned from gateway to the admin backend + allow the customer to retry payment again for that failed order

Anyone knows how to do this?
Or is there any specific page designed only to display error messages like checkout/failed ??

hi.
First of all you need to know is answer from payment gateway contains errors. Usually it send text or numeric error code or even plain text.
If errors are presents you can change order status via confirm() method.
Confirm() just change order_status_id. When customer goes to checkout/confirm page order creates automatically, but it's order status_id is zero.
After success charging method of your controller (it can be "callback" or just "response-controller") must to change order_status_id and other order's properties by $this->model_checkout_order->confirm()

if you controller got some error you can:
1. If order status changed inside customer session you can redirect him to page checkout/confirm  ( $this->redirect('checkout/confirm');)
2. If order status changed by remote request (i mean api callback from gateway), you need to set some "error" status for order first, for ex. "failed"

Then you can write message for store owner
For ex.
Code: [Select]
if($this->request->post['gateway_error']){
       $error_text = $this->request->post['gateway_error'];
       $error = new AError($error_text);
       $error->toLog()->toDebug()->toMessages();
}

1806
Configuration / Re: XML Plugin
« on: March 10, 2013, 10:34:37 AM »
as i understood correctly you have to develop  your own extension that creates specific(custom) xml-document for exporting.
More information about extension development here .
Also we have developer tools extension .

1807
Support / Re: Can You Show All Categories & Sub-Categories
« on: March 10, 2013, 10:26:03 AM »
1st way: You have to create extension and hook on controller of block for categories
2nd: create custom listing block with categories (menu design->blocks->tab listing block)

1808
General Support / Re: not working install Extension button
« on: March 10, 2013, 03:34:41 AM »
it's a bug related to directive short_open_tag of your php.ini.
Please, replace file E:\php_project\2013\abantecart\public_html\admin\view\default\template\pages\tool\package_installer.tpl by attached.

1809
did you update paypal standart by new from 1.1.5 ?
i mean that commit https://github.com/abantecart/abantecart-src/commit/389f28d6e410f0be054319874ec39046c49ce37b
if not - download zip https://github.com/abantecart/abantecart-src/archive/389f28d6e410f0be054319874ec39046c49ce37b.zip
unpack and replace all filies of default_pp_standart..
please check and let me know

1810
Extension Support / Re: FedEx Extension: Unable to get it installed
« on: March 09, 2013, 07:57:51 AM »
hello.
you need installed soap php module.
if you install your abantecart on hosting provider server - ask him about soap support for php.
Otherwise read this http://ua2.php.net/manual/en/book.soap.php
 

1811
General Support / Re: not working install Extension button
« on: March 07, 2013, 05:31:00 AM »
did you tried to replace this file from release package that placed here http://code.google.com/p/abantecart/downloads/list ?
i guess you damaged it.

1812
Support / Re: Disable all the countries except Malaysia
« on: March 07, 2013, 12:02:51 AM »
hi.
Try to go in admin menu system->localization->countries and delete all what you want.

1813
Configuration / Re: XML Plugin
« on: March 06, 2013, 11:57:08 PM »
they gave you plugin for another shopping cart engine.

1814
Extension Support / Re: Payment Extension v1.1.4
« on: March 05, 2013, 12:02:09 AM »
so bad, can you fix bug for me, check out page doesn't work , i can give you admin pass

send admin pass in private message

1815
Extension Support / Re: Payment Extension v1.1.4
« on: March 04, 2013, 02:04:04 AM »
sure, but you need to be careful with database. May be you need to restore it from sql dump that in archive

Pages: 1 ... 119 120 [121] 122 123 ... 137

Powered by SMFPacks Social Login Mod