latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Authorize.net pro forms credit card images

Home Forums Community Forum Authorize.net pro forms credit card images

This topic contains 4 replies, has 3 voices. Last updated by  Bruce 4 years, 1 month ago.

Topic Author Topic
Posted: Tuesday Dec 4th, 2012 at 4:38 pm #33473

Hi,

I built our site on a temporary url, then launched the site to the permanent url. The credit card images on the Authorize.net pro form still have the url from the temporary site, and so they have disappeared since I disabled that site. How do I redefine the path to link to the images to have the new url?

Thanks!

List Of Topic Replies

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Tuesday Dec 4th, 2012 at 7:27 pm #33499
Bruce
Username: Bruce
Staff Member

Hi Steve,

Try adding this to your theme’s style.css file, replacing example.com with your website’s domain:

label.s2member-pro-authnet-form-card-type-visa-label
	{
		background: url('http://example.com/wp-content/plugins/s2member-pro/images/visa-card.png') no-repeat top center !important;
	}
label.s2member-pro-authnet-form-card-type-mastercard-label
	{
		background: url('http://example.com/wp-content/plugins/s2member-pro/images/mastercard-card.png') no-repeat top center !important;
	}
label.s2member-pro-authnet-form-card-type-amex-label
	{
		background: url('http://example.com/wp-content/plugins/s2member-pro/images/amex-card.png') no-repeat top center !important;
	}
label.s2member-pro-authnet-form-card-type-discover-label
	{
		background: url('http://example.com/wp-content/plugins/s2member-pro/images/discover-card.png') no-repeat top center !important;
	}
label.s2member-pro-authnet-form-card-type-maestro-label
	{
		background: url('http://example.com/wp-content/plugins/s2member-pro/images/maestro-card.png') no-repeat top center !important;
	}
label.s2member-pro-authnet-form-card-type-solo-label
	{
		background: url('http://example.com/wp-content/plugins/s2member-pro/images/solo-card.png') no-repeat top center !important;
	}
Posted: Wednesday Dec 5th, 2012 at 8:25 am #33542

Steve, the URLs to those images should have been updated…

Did you update the domain name everywhere in your installation?

Are you using a caching plugin? Could you try deactivating it for a moment and test the pro-form again?

If neither one was the reason, could you test the theme and other plugins as explained in this article? Knowledge Base » Common Troubleshooting Tips

Thanks. :)

Posted: Wednesday Dec 5th, 2012 at 12:29 pm #33581

Hello ~

Christian, I followed the steps you outlined and nothing worked. It did work to add that code to the stylesheet that Bruce suggested. Thank you. I hope this does not signify a bigger problem!

Posted: Wednesday Dec 5th, 2012 at 2:27 pm #33594
Bruce
Username: Bruce
Staff Member

Hi Steve,

I believe that s2Member only saves the URL of your site in the database for references to CSS, as it custom-generates CSS for the Pro Form using PHP. You should be okay in the future, but if not please let us know and we can show you how to update the database itself to stop this from happening.

Viewing 4 replies - 1 through 4 (of 4 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.