WordPress.org

Support

Support » Plugins and Hacks » WP e-Commerce Shop Styling » Error on transaction result page

Error on transaction result page

  • Hey,

    i have a problem with the plugin. Paypal – when it sends the customer back to the transaction results page it says “Your payment could not be processed”. But everything is fine, the payment is processed and all emails are send correctly. Any ideas?

    Thanks

    Here the errors:

    Warning: Illegal string offset ‘unique_name’ in /homepages/19/d13559049/htdocs/heavylistening/wp-content/plugins/wp-ecommerce-styling/includes/class-haetshopstyling.php on line 675

    Warning: Illegal string offset ‘value’ in /homepages/19/d13559049/htdocs/heavylistening/wp-content/plugins/wp-ecommerce-styling/includes/class-haetshopstyling.php on line 675

    Warning: Cannot modify header information – headers already sent by (output started at /homepages/19/d13559049/htdocs/heavylistening/wp-content/plugins/wp-ecommerce-styling/includes/class-haetshopstyling.php:675) in /homepages/19/d13559049/htdocs/heavylistening/wp-includes/pluggable.php on line 876

    http://wordpress.org/extend/plugins/wp-ecommerce-shop-styling/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author haet

    @haet

    Hi, please tell me all your versions WP, WPSC and Shop Styling

    Hello,

    WordPress 3.5.1
    WPSC 3.8.9.5
    Shop Styling 1.9.1

    Having same problem …

    WordPress 3.5.1
    WPSC 3.8.10
    Shop Styling 1.9.2

    http://www.ostrovitsky.com

    We’ll refund and void any purchase made. Fix it for free chocolate babka?

    Warning: Illegal string offset ‘unique_name’ in /usr/local/www/o/os/ostrovitsky_boss/docs/wp-content/plugins/wp-ecommerce-shop-styling/includes/class-haetshopstyling.php on line 725

    Warning: Illegal string offset ‘value’ in /usr/local/www/o/os/ostrovitsky_boss/docs/wp-content/plugins/wp-ecommerce-shop-styling/includes/class-haetshopstyling.php on line 725

    UPDATE

    Problem solved “for now” — please evaluate.

    wp-content/plugins/wp-ecommerce-shop-styling/includes/class-haetshopstyling.php line 725

    Change :

    //$message_html = str_replace('{'.$param["unique_name"].'}', $param['value'], $message_html);

    To :

    //$message_html = str_replace('{'.$param["unique_name"].'}', $param['value'], $message_html);
    			if (gettype ( $param ) == 'array') {
    				if (array_key_exists('value', $param) && array_key_exists('unique_name', $param)) {
    					$message_html = str_replace('{'.$param["unique_name"].'}', $param['value'], $message_html);
    				}
    			}
    Plugin Author haet

    @haet

    Hi, I added your code to the plugin, but I still don’t know the reason for the error, because the same statement works fine for emails and transaction and invoices and it also works in all other stores using the shop styling plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error on transaction result page’ is closed to new replies.
Skip to toolbar