WordPress.org

Ready to get started?Download WordPress

Forums

WP e-Commerce Shop Styling
Error on transaction result page (6 posts)

  1. Owkei
    Member
    Posted 1 year ago #

    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/

  2. haet
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. Owkei
    Member
    Posted 1 year ago #

    Hello,

    WordPress 3.5.1
    WPSC 3.8.9.5
    Shop Styling 1.9.1

  4. Intracommunities Inc
    Member
    Posted 1 year ago #

    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

  5. Intracommunities Inc
    Member
    Posted 1 year ago #

    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);
    				}
    			}
  6. haet
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.