Paypal Integration

ukdenny
@ukdenny
6 years ago
304 posts
I am trying to intergrate 3rd party software that can be intergrated with Paypal. The software says 3 steps. Part one paste on all pages (so I am using the header.tpl for this. Part 2 says paste into body, using same template. part 3 ipn at Paypal, done that.
Would a developer please look at my source code and put me right please.
view-source:https://justcountry.co.uk/core/template_modify/skin=jrProJamLight/id=15
updated by @ukdenny: 10/26/18 05:59:26AM
michael
@michael
6 years ago
7,715 posts
#1) paste on all pages (so I am using the header.tpl for this. // CORRECT
#2) Part 2 says paste into body, using same template. // CORRECT
#3) part 3 ipn at Paypal, done that.

If you've done all the steps and its not working, make sure you activate the template, then reset the caches.

Docs: "Using the Template Editor"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/3183/using-the-template-editor
ukdenny
@ukdenny
6 years ago
304 posts
It still isn't working, but I think I must have something wrong in the code. The instuctions are in the screenshot, could you put me right please.
paul
@paul
6 years ago
4,326 posts
Try wrapping the script tags with smarty {literal} tags -
{literal}
<script type="text/javascript . . .>
    ....
    ....
</script>
{/literal}

hth


--
Paul Asher - JR Developer and System Import Specialist

updated by @paul: 07/26/18 01:09:19PM
ukdenny
@ukdenny
6 years ago
304 posts
I tried that, but not registering in software. Could you please look at my source code to see if there is anything else?
view-source:http://www.justcountry.co.uk/
paul
@paul
6 years ago
4,326 posts
We cannot debug third paty scripts.
Having said that, I took a quick look at your page source code and immediately see errors highlighted in red (using FireFox). You are nesting head, body and html tags!!!
Get those sorted and it might work.
hth


--
Paul Asher - JR Developer and System Import Specialist
ukdenny
@ukdenny
6 years ago
304 posts
Could you please explain what this means 'You are nesting head,body and html tags!!!
So that I can perhaps sort it out.
Thanks
michael
@michael
6 years ago
7,715 posts
Your being asked to merge the example code with your existing code, but you've pasted the example code below the existing code.
issues.jpg
issues.jpg  •  211KB

Tags