Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

api integration

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-02-2011, 11:38 AM
 
spiderling spiderling is offline
 

Advanced Member
  
Join Date: Jan 2011
Posts: 45
 

Default api integration

I would like to integrate a third party rewards program using the JavaScript/jQuery API they provided. We use PayPal for our payment method, so I thought I would put the JS API in the X-Cart success page for PayPal. Then when the success page loads the JS API is initiated and awards the user their points.

Where would I find the success page please?
__________________
2 - X-Cart Gold 4.4.2
1 - X-Cart Gold 4.4.4
Reply With Quote
  #2  
Old 12-03-2011, 08:00 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: api integration

spiderling,
It's not that simple, the checkout success page is made up of dozens of different templates. You will need to figure out which template your code needs to be inserted in. Thankfully Qualiteam has made this easy.

Using webmaster mode you can easily discover what template you need to edit. I made you this video to explain this process. Sorry, it is a little slow, has no audio and is unedited.

http://www.youtube.com/watch?v=zqFaG1yvuFI

But I think it will get you on the right track to finding a specific template when you need it.

Hope this helps,
-Mike
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote

The following user thanks totaltec for this useful post:
spiderling (12-03-2011)
  #3  
Old 12-03-2011, 04:09 PM
 
spiderling spiderling is offline
 

Advanced Member
  
Join Date: Jan 2011
Posts: 45
 

Default Re: api integration

Thanks for going to the effort of creating the video!

As impressed as I was with Webmaster Mode when I first discovered it, I still keep forgetting about it since I have probably only used it a handful of times.

Thanks again,
Pasquale
__________________
2 - X-Cart Gold 4.4.2
1 - X-Cart Gold 4.4.4
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:36 AM.

   

 
X-Cart forums © 2001-2020