Show Posts


Messages - Rawinder Dhillon

Pages: [1] 2
1
API Development / coupon working on website but not in API
« on: March 18, 2022, 04:38:15 AM »
 Hi,
 I created a coupon on website .
it works when i place order there
But while using it app or Postman via API is gives error
 "error_warning": "Error: Coupon is either invalid, expired or reached it's usage limit!",
can someone plz check

2
Template Support / Sort function of Tags
« on: February 27, 2022, 07:08:27 AM »
while entering product data we add Tags.
these tags are stored sorted in database .
can someone plz tell me the location where this sorting function is . as dont want tags to be sorted .

i checked and edited this file but not working
public _html/ admin/model/ catalog/product

3
Payment Modules / Bank Transfer extension that support API
« on: December 29, 2021, 07:48:46 AM »
i want to develop an extension (Bank Transfer Or I can Name it Prepay ) that is supported by API also.
i used extension development tool.  but can someone plz tell what other files of API need changes and any rough idea

4
API Development / Re: Fetch Resources of a Product
« on: February 18, 2021, 08:40:37 AM »
ok, Thx

5
API Development / Fetch Resources of a Product
« on: February 18, 2021, 02:55:16 AM »
Hi,
i want to fetch all the images i uploaded on website through API of a particular product
with rt=a/product/product
it returns only Main image (one Url)
but i want all to display in android APP
i tried
a/product/resources
but it returns empty response on "Postman"

can someone plz help

output of a/product/resources (this product has 3 images)
{
    "total": 6,
    "resources": [
        {
            "type_id": "1",
            "type_name": "image",
            "default_directory": "image/",
            "default_icon": "icon_resource_image.png",
            "file_types": "/.+(jpe?g|gif|png|ico|svg|svgz|webp)$/i",
            "access_type": "0"
        },
        {
            "type_id": "2",
            "type_name": "audio",
            "default_directory": "audio/",
            "default_icon": "icon_resource_audio.png",
            "file_types": "/.+(mp3|wav)$/i",
            "access_type": "0"
        },
        {
            "type_id": "3",
            "type_name": "video",
            "default_directory": "video/",
            "default_icon": "icon_resource_video.png",
            "file_types": "/.+(avi|mpg|mov|flv)$/i",
            "access_type": "0"
        },
        {
            "type_id": "4",
            "type_name": "pdf",
            "default_directory": "pdf_document/",
            "default_icon": "icon_resource_pdf.png",
            "file_types": "/.+(pdf)$/i",
            "access_type": "0"
        },
        {
            "type_id": "5",
            "type_name": "archive",
            "default_directory": "archive/",
            "default_icon": "icon_resource_archive.png",
            "file_types": "/.+(zip|rar|gz|7z)$/i",
            "access_type": "1"
        },
        {
            "type_id": "6",
            "type_name": "download",
            "default_directory": "download/",
            "default_icon": "icon_resource_download.png",
            "file_types": "/.+$/i",
            "access_type": "1"
        }
    ]
}

6
API Development / Re: Sord (for Sorting) not working in API
« on: January 20, 2021, 04:32:26 AM »
A similar problem ith pto & pfrom

while fetching products with keyword pto & pfrom works
means shows products from this range

 
but when instead of keyword i use category_id
with same options

then there will no filtering based on price range .


will you plz check this one ?

7
API Development / Re: Sord (for Sorting) not working in API
« on: January 19, 2021, 12:47:33 PM »
 Thx Bro , Its working this way

8
API Development / Sord (for Sorting) not working in API
« on: January 06, 2021, 10:41:24 AM »
Hi,
while fetching products
im using these two options
first is keyword
2nd is category_id

with rt=a/product/filter

when i search with keyword
sidx=price
sord=DESC or ASC
it is working perfectly
 
but when instead of keyword i use category_id
with same options

then there will no sorting by price.
products are sorted by product id

im i doing something wrong ?
Thx 

9
General Support / Re: Change in Cart doesn't Reflect
« on: December 10, 2020, 06:51:36 AM »
bro it was a old version .
i download latest version of abantecart  and upload my data tables one by one.

10
General Support / Re: Change in Cart doesn't Reflect
« on: December 09, 2020, 11:17:47 AM »
Before upgrade,  when i add/delete product in Android App
It reflect the same changes on browser (customer login)

11
General Support / Change in Cart doesn't Reflect
« on: December 06, 2020, 04:07:58 AM »
i'm using Abantecart API with an android App.
Update Abntecart Version to 1.2.16 from an older version.
Before Updation Android App was working Perfectly.
Any operation like add product, delete, change quantity reflects at same time on web browser in  customer's account.
but after updation logoff and re login on web browser to check changes otherwise it show old data.
looks like this is related to caching .
can someone plz put light on this


12
API Development / Re: Bank Transfer Payment Method in android APP
« on: October 31, 2020, 06:08:45 AM »
when i execute confirm step in Postman it return a parameter "Payment"  with Jason Response.
but in android APP confirm command doesn't include "Payment" Parameter in JSON Response.
what will be the reason ? 

13
API Development / Re: Bank Transfer Payment Method in android APP
« on: October 30, 2020, 10:40:12 AM »
Rawinder,

What it meant that you need post back the (payment details) required fields with “required” flag that came from confirmation step.
In case of COD and Bank Transfer you should not have these.

I do agree with dvagner, native apps should handle specific payments with SDK and we can adjust AbanteCart API to handle payment confirmation 
Open for ideas and discussion.

ok Admin,
as cod was working and default_Banktransfer was creating problem so i thought there may be some other data required.
but as you cleared now that COD & Bank transfer DoNot have these Flags . so problem must be somewhere else .
Thx for Your reply , will check other things now 

14
API Development / Bank Transfer Payment Method in android APP
« on: October 28, 2020, 11:47:50 AM »
In my Android app. i'm able to place order on my Website but with payment type "COD" only.
on my website i have another payment extension that is Default_banktranfer. on website its working fine.but in android app is showing error
'status' => 5, 'error' => 'Something went wrong. Incomplete request!'

there is a parameter in process Request that is "payment details"
im not sending this as i assumed that on website it is working without any payment details(and also working for COD) so it will work here too.
but its not working . i search online but couldn't able to find any clue that what will be the value of this parameter in case of banktransfer (like null or something else)

documentation saying it is "Details that are returned from confirmation step in payment structure"   
and in notes "Required based on “required” flag in the structure".

Where is this Required Flag?
and what will be the value of parameter in case of bank transfer ?
Thx in Advance


15
API Development / Re: Shipping Method selection problem
« on: October 28, 2020, 11:27:34 AM »
ok admin , i will

for above problems i drop the idea of executing shipping selection command directly. instead i executed mode =list the select command.
this solved my problem. now im able to select shipping method.

Pages: [1] 2

Powered by SMFPacks Social Login Mod