X

WP Ecommerce Test mode payment instruction

If you want to test the manual / offline payment method of the WP eCommerce plugin in the test mode, and your instructions are not visible after the user checkout, then you can add this code at the end of the testmode.merchant.php file to display the instructions. You can find the testmode.merchant.php file in the wp-content/plugins/wp-e-commerce/wpsc-merchants directory.

Code Snippet:

<?php
function testmode_instruction() {
	return 	stripslashes(get_option('payment_instructions'));
}
add_action('init', 'testmode_instruction');
?>

Comments  Leave a Reply

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!