WordPress.org

Support

Support » Plugins and Hacks » WP eCommerce » [Resolved] [Plugin: WP e-Commerce] wpsc_payment_successful hook not working with paypal pro

[Resolved] [Plugin: WP e-Commerce] wpsc_payment_successful hook not working with paypal pro

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Justin Sainton

    @justinsainton

    The ‘wpsc_payment_successful’ hook appears to have been perhaps unintentionally deprecated. Let me know where you see that on the website and I’ll contact them to have it updated.

    In the meantime, you should be able to get what you need done by hooking in to ‘wpsc_confirm_checkout’.

    Plugin Author Justin Sainton

    @justinsainton

    I apologize, I misspoke – that action still exists. Lots of reasons it might not be firing though – probably need to ensure that the purchase status is set to ‘3’, which is the ID indicating a successful transaction. Check your gateway code for more info.

    Purchase status was set to 3

    ‘wpsc_confirm_checkout’ Was being executed twice during check out, and as many times as you refreshed the final transaction summary page.

    I had to create a custom action immediately after the transaction status was set to 3 in the paypal-pro.merchant class

    Plugin Author Justin Sainton

    @justinsainton

    I’ve filed a ticket about this to investigate further. This would be the ideal hook to hook into for a successful transaction, and it is odd that it’s not firing.

    http://code.google.com/p/wp-e-commerce/issues/detail?id=1103&thanks=1103

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: WP e-Commerce] wpsc_payment_successful hook not working with paypal pro’ is closed to new replies.
Skip to toolbar