bitpay/wordpress-ecommerce-plugin — pull request #2 by jaafit (2012-11-29 18:51:22+00:00)
Title: critical bugfix: remove intval

commit notes:
stop using intval() on sessionid since it truncates to 32 bits
prevent passing null values when creating invoice
log in case of failure

I was going to suggest waiting until adamvstheman tried this out due to the other changes but they haven't responded yet and the intval() change definitely needs undoing.