0

I am new to wp e-commerce plugin, I need the following hook function for this plugin

  1. customer register success event
  2. customer login
  3. sales order place after
  4. Hook function to change order shipping status from wp-admin end

I tried search, but could not found. Kindly advice

3

1 Answer 1

1

1.customer register success event

WordPress: user_register

2.customer login

WordPress: wp_login

3.sales order place after

WP E-Commerce: wpsc_purchase_log_save

4.Hook function to change order shipping status from wp-admin end

WP E-Commerce: wpsc_update_purchase_log_status

To identify the status:

INCOMPLETE_SALE  = 1;
ORDER_RECEIVED   = 2;
ACCEPTED_PAYMENT = 3;
JOB_DISPATCHED   = 4;
CLOSED_ORDER     = 5;
PAYMENT_DECLINED = 6;
REFUNDED         = 7;
REFUND_PENDING   = 8;

Not the answer you're looking for? Browse other questions tagged or ask your own question.