• Hi

    Iam planning to crate a plugin, which works as extension of wp-ecommerce plugin. For my plugin a I need to collect customer and purchased item details after successful checkout. Iam planning to create a plugin which donot change the code of wp-commerce plugin. Can i collect checkout data from wp-commerce in my plugin without changes on wp-commerce?. If yes how can i collect datas after successful checkout?

    https://ww.wp.xz.cn/plugins/wp-e-commerce/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter arif.vbridge

    (@arifvbridge)

    Is there any way to collect checkout details

    A quick “grep” for ‘action’ and ‘checkout’ together gets this line:
    wpsc-components/theme-engine-v1/helpers/ajax.php:779: do_action( ‘wpsc_submit_checkout’, array( ‘purchase_log_id’ => $purchase_log_id, ‘our_user_id’ => $our_user_id ) );

    so that is probably where you want to start.

    Thread Starter arif.vbridge

    (@arifvbridge)

    I just want to collect session id after successful checkout. From that i can collect all the data required for me, can you plese help me to collect session id using plugin. I just tried to collect values of all session, bu it doesn’t returns session-id stored in ‘wp_wpsc_purchase_logs’ table

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Wp-ecommerce extension plugin’ is closed to new replies.