CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • payment processor image missing in notify billing mode
Pages: [1]

Author Topic: payment processor image missing in notify billing mode  (Read 1889 times)

robezy

  • Guest
payment processor image missing in notify billing mode
February 27, 2009, 08:27:49 am
hi...

 i'm trying to create new payment processor using notify method. I'm following google chekout code for my payment processor ...


  i modified the templates/CRM/Contribute/Form/Contribution/Confirm.tpl:  to  display  payment processor option.. everything is fine except for the chekout button image...  it is not displayed ... (please see  the attached image)

do i need to edit some other template to display the image. the button image url is already entered in the payment  processor  setting..


... wht could the reason....

any ideas??

thanks with regard

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: payment processor image missing in notify billing mode
February 27, 2009, 09:51:01 am

You will need to customize that tpl to include your payment processor button. For some strange reason, we've hardcoded google and paypal types in there. Please file an issue and we'll clean this up for 2.3.

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

robezy

  • Guest
Re: payment processor image missing in notify billing mode
February 27, 2009, 09:01:55 pm
I have edited the file templates/CRM/Contribute/Form/Contribution/Confirm.tpl like this

             
           {elseif $paymentProcessor.payment_processor_type EQ 'ICICI'}
                  {ts}Click the <strong>ICICI Payseal</strong> button to checkout to ICICI Payement Gateway, where you will select your payment method and complete the contribution.{/ts}
                {else}

                {ts}Click the <strong>Continue</strong> button to go to PayPal, where you will select your payment method and complete the contribution.{/ts}
               {/if}
 


and

{if $paymentProcessor.payment_processor_type EQ 'ICICI' and $is_monetary and $amount GT 0 and ! $is_pay_later}
        <fieldset><legend>{ts}Pay with ICICI Payseal{/ts}</legend>
         <table class="form-layout-compressed">
          <tr><td class="description">{ts}Click the Payseal Checkout button to continue.{/ts}</td></tr>
          <tr><td>{$form._qf_Confirm_next_checkout.html} <span style="font-size:11px; font-family: Arial, Verdana;">Checkout securely.  Pay without sharing your financial information. </span></td></tr>
         </table>
        </fieldset>
    {/if}
 

I am not able to find how  the google checkout image is being fetched.. otherwise i could have followed the same procedure...

Could you please what more i need to edit to view the image for the time bieng..


Quote from: Donald Lobo on February 27, 2009, 09:51:01 am

You will need to customize that tpl to include your payment processor button. For some strange reason, we've hardcoded google and paypal types in there. Please file an issue and we'll clean this up for 2.3.

lobo


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: payment processor image missing in notify billing mode
February 28, 2009, 07:43:31 am

check the code here: CRM/Contribute/Form/Contribution/Confirm.php, specifically line 239 (in v2.2) and see what the value of $this->_paymentProcessor['url_button'] is and if u can load the image etc

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

robezy

  • Guest
Re: payment processor image missing in notify billing mode
March 01, 2009, 07:30:23 pm
hi,
 thanks for the tip... the image is now being loaded.... now i can proceed to the next step...

robezy



Quote from: Donald Lobo on February 28, 2009, 07:43:31 am

check the code here: CRM/Contribute/Form/Contribution/Confirm.php, specifically line 239 (in v2.2) and see what the value of $this->_paymentProcessor['url_button'] is and if u can load the image etc

lobo


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • payment processor image missing in notify billing mode

This forum was archived on 2017-11-26.