Page 1 of 1

Order API

PostPosted: Fri Oct 31, 2003 10:42 am
by Wes Rolley
Since no one volunteered an answer to my previous Order API question,
can anyone (Loren?) validate the following for me:

- There was no value provided for "Coupons=" when I looked at a coupon
order with custom-dump.pl. The assumption is that this field is not used
when only a single coupon is provided.

- There is sub field of O_AllTotals that provides for the total coupon
value (a negative number.)

- The Coupon info is passed as if it were a product name, but with the
record type set to "cpn". Then the Product Name is the Coupon Text..e.g.

B03-Name = Early Bird Holiday Discount
B03-Price = -7.64
B03-rec_type = cpn

Are these statements that I can count on now (Shopsite Pro 6/1/1) and in
other point releases of version 6?

Re: Order API

PostPosted: Fri Oct 31, 2003 10:53 am
by loren_d_c
I don't think any of these things have changed in newer versions, but
you could always get a v6.3 demo store from www.shopsite.com/demo.html
and setup your coupons and the customdump.cgi Order API and try a test
order to see.

-Loren


Wes Rolley wrote:
Since no one volunteered an answer to my previous Order API question,
can anyone (Loren?) validate the following for me:

- There was no value provided for "Coupons=" when I looked at a coupon
order with custom-dump.pl. The assumption is that this field is not used
when only a single coupon is provided.

- There is sub field of O_AllTotals that provides for the total coupon
value (a negative number.)

- The Coupon info is passed as if it were a product name, but with the
record type set to "cpn". Then the Product Name is the Coupon Text..e.g.

B03-Name = Early Bird Holiday Discount
B03-Price = -7.64
B03-rec_type = cpn

Are these statements that I can count on now (Shopsite Pro 6/1/1) and in
other point releases of version 6?