Announcement

Collapse
No announcement yet.

Integrating PayPal Express into a heavily customized template

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Integrating PayPal Express into a heavily customized template

    I am trying to add PP Express as an option, and am having trouble getting it to work on my heavy modified template.

    Checkout button is no problem, the issue arrises on the checkout_step3.html page.

    The standard template file has this block:
    Code:
    <!--START: PPEXPRESS-->
                          <tr>
                            <td colspan="2" class="titles" height="15">&nbsp;[payment_description]</td>
                          </tr>
                          <tr>
                            <td colspan="2" class="item">[payment_description_message]</td>
                          </tr>
                          <tr>
                            <td colspan="2" class="item"><input name="payment"  onclick="javascript:checkoutSwitch(true);window.location.href='paypal_express.asp?ch=3';" type="radio" value="online-[id]">
                              <img src="https://www.paypal.com/en_US/i/IntegrationCenter/scr/scr_ppAcceptMark_68x43.jpg" height=35 border="0"></a> [payment_description]</td>
                          </tr>
                          <!--END: PPEXPRESS-->

    If I add that block to my template file in roughly the same place, the code inside is never loaded during a PayPal checkout. Has anyone run into this and found a workaround?

    One thing I noticed when looking at the source code of the page is that it would add tags for a non-existant payment method, in the middle of the PP block, like:

    Code:
    <!--START: PPEXPRESS-->
    <!--START: LINKGATEWAY--><!--END: LINKGATEWAY-->
    <!--END: PPEXPRESS-->
    I don't use Linkgateway, so I removed that block of code entirely from my template file. It is being inserted at run time in the middle of the PP block.

    If I add the Linkgateway code back to my template file then it does not appear in the PP block, but neither does anything else.
Working...
X