Skip to Content Skip to Menu

[#4630] CB Subs Paypal Pro - How to get buttons? Style credit card form?

  • Scratch87
  • Scratch87
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
10 years 2 months ago - 10 years 2 months ago #248109 by Scratch87
Perhaps I am missing something - and I being a newb I would not be surprised - but I have PayPal pro set up for automated billing... It all works fine. The invoice form looks okay, but the actual submit credit card payment form has broken links for the credit cards. Plus, I don't see a Paypal option. Can anyone point me in the right direction? Its the very last step in my deployment of CB Subs. Kind regards, -- Scratch :S
Last edit: 10 years 2 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
10 years 2 months ago #248132 by krileon
It should be using the credit card icons found at the below location.

components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/icons/cards/

I recommend right clicking the image and clicking Inspect Element in Chrome or Firefox and see what image it's trying to load.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • Scratch87
  • Scratch87
  • OFFLINE
  • Posts: 6
  • Thanks: 0
  • Karma: 0
10 years 2 months ago - 10 years 2 months ago #248144 by Scratch87
I found the answer on a another post here - maybe the developers forum? The solution is to rename the icon files to ones that account for uppercase letter instances that may occur in the file name URL. For example, I renamed cc_big_visa to cc_big_Visa. Either that, or rewrite the php. I chose the easiest solution, but the issue might be considered a minor bug. Thanks again for your help. Love the CB subs component.

-- Scratch
Last edit: 10 years 2 months ago by Scratch87.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
10 years 2 months ago #248181 by krileon
Ah, looks like the values in XML have uppercase. The below should quickfix this. Note you'll need to resave the gateway after making the below change.

IN: components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/processors/paypalpro/edit.gateway.oem.xml
ON: Lines 61-64
FROM:
Code:
<option value="Visa">Visa &lt;img src="../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/icons/cards/cc_visa.gif" alt="" /&gt;</option> <option value="MasterCard">Mastercard &lt;img src="../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/icons/cards/cc_mastercard.gif" alt="" /&gt;</option> <option value="Amex">American Express &lt;img src="../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/icons/cards/cc_amexco.gif" alt="" /&gt;</option> <option value="Discover">Discover &lt;img src="../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/icons/cards/cc_discover.gif" alt="" /&gt;</option>
TO:
Code:
<option value="visa">Visa &lt;img src="../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/icons/cards/cc_visa.gif" alt="" /&gt;</option> <option value="mastercard">Mastercard &lt;img src="../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/icons/cards/cc_mastercard.gif" alt="" /&gt;</option> <option value="amex">American Express &lt;img src="../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/icons/cards/cc_amexco.gif" alt="" /&gt;</option> <option value="discover">Discover &lt;img src="../components/com_comprofiler/plugin/user/plug_cbpaidsubscriptions/icons/cards/cc_discover.gif" alt="" /&gt;</option>

#4630


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum