Title: Creating Custom Shortcode issue using different images for each button.
Last modified: May 28, 2018

---

# Creating Custom Shortcode issue using different images for each button.

 *  Resolved [swy2017](https://wordpress.org/support/users/swy2017/)
 * (@swy2017)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/)
 * Hi have had an issue using different images for different payment buttons when
   clicking pay now, have had to use the same image for all the buttons. Image links
   show as broken within card details screen when clicking on the pay now button.
   These were all working fine but aren’t now. Have tested by pointing everything
   to different images, no joy.

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

 *  Plugin Contributor [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10333706)
 * Hi. It would be good to see that on your site. I have just tested it on my test
   server and every image I put are displaying just fine for me.
 *  Thread Starter [swy2017](https://wordpress.org/support/users/swy2017/)
 * (@swy2017)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10333759)
 * Please note that you don’t see an image when accessing the payment window from
   a desktop browser. Every payment I take is via mobile browsers. It was working
   previously.
 *  Thread Starter [swy2017](https://wordpress.org/support/users/swy2017/)
 * (@swy2017)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10338322)
 * Reinstalled and deleted images, uploaded the images I wanted to use and still
   will not work. Have identified that the only image it will allow me to set for
   all of the custom pay buttons is the image that is pointing to website logo.
   
   Any suggestions?
 *  Plugin Contributor [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10338390)
 * Can you show the shortcode you’re using to display buttons?
 *  Thread Starter [swy2017](https://wordpress.org/support/users/swy2017/)
 * (@swy2017)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10338442)
 * [accept_stripe_payment name=”50 Minute” price=”25″ item_logo=”[https://************/******/logo.png&#8221](https://************/******/logo.png&#8221);
   billing_address=”1″ class=”mybtn”]
 *  Plugin Contributor [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10338444)
 * Can you create a product instead of using custom button shortcode? All the parameters
   you set in this shortcode could be set for product as well. You can also make
   it look like a regular button easily and use its shortcode to display it.
 *  Thread Starter [swy2017](https://wordpress.org/support/users/swy2017/)
 * (@swy2017)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10338472)
 * Thanks Alexander. I’ll give it a try, I forgot about that option.
 * On another note do you think you can add capture post code or zip code only, 
   instead of requiring full billing address. Simple Pay Lie has it, would that 
   be difficult to build in?
 *  Thread Starter [swy2017](https://wordpress.org/support/users/swy2017/)
 * (@swy2017)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10338478)
 * Plus I’d prefer to keep using your plug-in
 *  Thread Starter [swy2017](https://wordpress.org/support/users/swy2017/)
 * (@swy2017)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10338508)
 * Have tried the method you suggested and still doesn’t work. The only image it
   is allowing is the image that points to my website logo.
 *  Plugin Contributor [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10339914)
 * Are you using the latest version of the plugin (1.8.9 at the moment)?
 * Can you provide links to the images you’re trying to use? If you don’t want to
   share those publicly, can you contact me here [https://stripe-plugins.com/contact-us/](https://stripe-plugins.com/contact-us/)
   and provide those? I think this can be related either to image permissions or
   sanitization issues.
    -  This reply was modified 7 years, 11 months ago by [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/).
 *  Thread Starter [swy2017](https://wordpress.org/support/users/swy2017/)
 * (@swy2017)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10341598)
 * Oddly if you create a product and in tick the create button only it pulls the
   image I want to use through to the stripe card payment pop up. But if you tick
   the create button only as you suggested it just show a blank broken image unless
   you use the image that is pointing to the logo. I have tried all images that 
   are hosted on my server and they all come up blank except the image used for 
   my logo. I’ve managed to find a work around, pointing the images source to my
   Google drive has worked.
    Surely I can’t be the only one to be having this issue?
   I hope you can find a fix because my all my images are viewable by typing in 
   their I individual web addresses.
 *  Thread Starter [swy2017](https://wordpress.org/support/users/swy2017/)
 * (@swy2017)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10341624)
 * I’d rather be using the images hosted on my website. Doesn’t make sense that 
   I need to use an external host when the images are publicly accessible via my
   website 🤔
 *  Thread Starter [swy2017](https://wordpress.org/support/users/swy2017/)
 * (@swy2017)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10341654)
 * Actually it worked temporarily and now all the image links are not showing again.
   I’m spending way to much time on this. I am just going to use the one image that
   works. I am wondering if it is part of the script from Stripe, forcing company
   logo to load up in the payment window.
 *  Thread Starter [swy2017](https://wordpress.org/support/users/swy2017/)
 * (@swy2017)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10363023)
 * Hi, sorry I haven’t replied to this sooner. I have sent you the links to both
   images that I want to use to you via [https://stripe-plugins.com/contact-us/](https://stripe-plugins.com/contact-us/)
 *  Thread Starter [swy2017](https://wordpress.org/support/users/swy2017/)
 * (@swy2017)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10366340)
 * [RESOLVED] All-in-one Security was causing the issue. Work around was to disbale
   all-in-one, add chosen images to each product and then tested each button. Re-
   activate All-in-one Security and the selected images pulled through correctly
   to the stripe payment window.

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

The topic ‘Creating Custom Shortcode issue using different images for each button.’
is closed to new replies.

 * ![](https://ps.w.org/stripe-payments/assets/icon-128x128.png?rev=2705524)
 * [Accept Stripe Payments](https://wordpress.org/plugins/stripe-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stripe-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stripe-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/stripe-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stripe-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stripe-payments/reviews/)

 * 15 replies
 * 2 participants
 * Last reply from: [swy2017](https://wordpress.org/support/users/swy2017/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/creating-custom-shortcode-issue-using-different-images-for-each-button/#post-10366340)
 * Status: resolved