diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-12 17:44:56 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-12 17:44:56 +0800 |
commit | ff203b595fc28eb00b23535c35afcdcbdc2a846f (patch) | |
tree | e69f2f50a197a1269b036c0b6e151684f7dc9ee3 /ord.c | |
parent | e13451f98fab003c4cb883075053f9fb09b5c3b1 (diff) |
Only profile is needed from order on checkout
Diffstat (limited to 'ord.c')
-rw-r--r-- | ord.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,14 +11,14 @@ void interchange_ord_order(const char *sku, request(handler, NULL, NULL, "%s%s", "order?mv_arg=", sku); } -void interchange_ord_checkout(const struct interchange_ord_order *order, +void interchange_ord_checkout(const char *order_profile, const struct interchange_member *member, void (*handler)(interchange_response *)) { request(handler, NULL, &(struct body){ 14, { { "mv_todo", "submit" }, { "mv_action", "refresh" }, - { "mv_order_profile", order->profile }, + { "mv_order_profile", order_profile }, { "fname", member->fname }, { "lname", member->lname }, { "address1", member->address1 }, |