The Entrepreneur Forum | Startups | Entrepreneurship | Starting a Business | Motivation | Success
  • Self-Promotion Saturday Now Live!

    Have something to sell? Want to promote your design service or a YouTube channel? SELL-ME SATURDAY is your opportunity to self-promote anything within the sphere of entrepreneurship on one thread... and at no cost. Go There
    Note: Indiscriminate SEO backlinking to questionable material is not allowed.
  • Join 50,000+ entrepreneurs who are earning their freedom and living their dream.

    "Fastlane" is an entrepreneur discussion forum based on The C.E.N.T.S Framework outlined in the two best-selling books by MJ DeMarco (The Millionaire Fastlane and UNSCRIPTED®). From multimillionaires to digital nomads to side hustlers who are grinding a job, the Fastlane Forum features real entrepreneurs creating real businesses with one goal in mind: Freedom— both financial and temporal.

    Download (Unscripted) Download (Millionaire Fastlane) Register
    Registering for the forum removes this block.

Question for developers: Can I do this?

Remove ads while supporting the Unscripted philosophy...become an INSIDER.

ProcessPro

Bronze Contributor
Speedway Pass
Apr 26, 2018
240
287
168
Good day fastlaners, I'm currently working on a wordpress website for a small e-commerce store I plan to operate from my home. The local shipping company I plan to use offers an API that I can integrate into my website so that the customers can access shipping rates based on their area of residence etc. The problem is that I don't know code and don't know how to do the integration. My question is, is this something I can quickly figure out (watching a few YouTube vids etc)? Or is it a really advanced operation and things can go really wrong if I make a mistake?

Here are the API integration notes from the shipping website:
Universal Package Systems Limited - Developers

*If integrated correctly, it should create something like the attached photo on my website in the checkout area. That's taken from the shipping company's website.

Notes:
-The integration is optional, so the shipping company doesn't offer tutorials/step by step support. They simply recommend getting a developer.
-My funds are really limited, so I'd like to do it myself it possible, hence the reason I'm shying away from hiring.

Thanks!
-Processpro.

P.S. Wasn't sure where to post this thread, so this was my best judgment.
 

Don't like ads? Remove them while supporting the forum. Subscribe.

Attachments

jon.M

Gold Contributor
Read Millionaire Fastlane
I've Read UNSCRIPTED
Speedway Pass
Jul 4, 2016
402
1,319
424
Sweden
You need to learn the basics of HTTP requests, dealing with Json and programming in general. If I were you, and if I didn't know anything about that from start, I'd just look for a developer. It would just take you too much time for such a small thing. Not a wise investment.
 
OP
OP
ProcessPro

ProcessPro

Bronze Contributor
Speedway Pass
Apr 26, 2018
240
287
168
You need to learn the basics of HTTP requests, dealing with Json and programming in general. If I were you, and if I didn't know anything about that from start, I'd just look for a developer. It would just take you too much time for such a small thing. Not a wise investment.
Thanks for the feedback jon.M!
 

404profound

Platinum Contributor
FASTLANE INSIDER
I've Read UNSCRIPTED
Speedway Pass
Aug 27, 2017
1,366
2,820
667
Desert of Desertion
Echoing the HTTP request knowledge, that API is REST which means Representational State Transfer. You can read about what this is here.

Based on what your described goal is, you would be "consuming" a third party API through HTTP GET actions and loading the received data to your site with HTTP POST actions.

Out of my own curiosity for how in the world WP would consume JSON, I hunted down this guide. Hope it helps.
 
Last edited:
OP
OP
ProcessPro

ProcessPro

Bronze Contributor
Speedway Pass
Apr 26, 2018
240
287
168
Echoing the HTTP request knowledge, that API is REST which means Representational State Transfer. You can read about what this is here.

Based on what your described goal is, you would be "consuming" a third party API through HTTP GET actions and loading the received data to your site with HTTP POST actions.

Out of my own curiosity for how in the world WP would consume JSON, I hunted down this guide. Hope it helps.
Echoing the HTTP request knowledge, that API is REST which means Representational State Transfer. You can read about what this is here.

Based on what your described goal is, you would be "consuming" a third party API through HTTP GET actions and loading the received data to your site with HTTP POST actions.

Out of my own curiosity for how in the world WP would consume JSON, I hunted down this guide. Hope it helps.

Thanks for taking the time to reply 404profound! Will do my homework and read the links you posted. Do you second jon.M's suggestion to get a developer? Or do you think I can attempt it myself after reading your links and other resources? Thanks.
 

rwhyan

The higher, the fewer
Read Millionaire Fastlane
I've Read UNSCRIPTED
Speedway Pass
Aug 27, 2017
134
340
176
CA
If you have no coding/developing experience I would recommend hiring a developer. Otherwise you will be spending hours learning to implement one function for your website.

You can find a developer on Fiverr or another freelancing site to implement the API for very cheap (think $20). Completely worth it.
 
OP
OP
ProcessPro

ProcessPro

Bronze Contributor
Speedway Pass
Apr 26, 2018
240
287
168
If you have no coding/developing experience I would recommend hiring a developer. Otherwise you will be spending hours learning to implement one function for your website.

You can find a developer on Fiverr or another freelancing site to implement the API for very cheap (think $20). Completely worth it.
Okay, that's affordable! :D Will look into it. Thanks rwhyan!
 

TreyAllDay

Whatever it takes
Read Millionaire Fastlane
I've Read UNSCRIPTED
Summit Attendee
Speedway Pass
Feb 9, 2016
557
1,690
485
29
Edmonton, AB
Look for a dev on upwork or fiver - it'll prevent a lot of pain.

This stuff can be a big pain if you don't know anything, but for a dev it will be maybe a couple hours of work.
 

404profound

Platinum Contributor
FASTLANE INSIDER
I've Read UNSCRIPTED
Speedway Pass
Aug 27, 2017
1,366
2,820
667
Desert of Desertion
Thanks for taking the time to reply 404profound! Will do my homework and read the links you posted. Do you second jon.M's suggestion to get a developer? Or do you think I can attempt it myself after reading your links and other resources? Thanks.
The decision depends on a few factors.

1. If you foresee the potential for continuous growth of features, learning some of those skills yourself may be sensible, as you won't have to hire a developer every time you'd like to make changes / restructure functionality (and once you get user feedback, that is a likely outcome).

2. If you can afford a developer each time one is needed, that would be better for time-efficiency. A good dev can read a codebase and make changes with a lot less risk than someone just dipping into programming. From a finance perspective, you'd be paying for speed and reduced risk of breaking changes.

3. If you'd like to equip yourself with skills for future projects, learning programming makes sense. If your first business fails, having an understanding of APIs, rendering HTML and CSS, writing scripts with JavaScript, structuring a database, so on and so on, the more you know the sooner you can get the next idea live.

- Just my two cents
 

rpeck90

Gold Contributor
Speedway Pass
Nov 26, 2016
238
1,087
357
30
United Kingdom
The simple answer with an API is that you are using your application to create a programmatic request to an Internet resource - person clicks onto "checkout.php", "checkout.php" automatically requests shipping rates by sending an HTTP request via cURL to one of the API endpoints you've mentioned.

In terms of your specific use-case, I doubt you would need to utilize the Wordpress API because that's only for inbound requests. You're sending outbound requests to the shipping API, so all you need is to be able to authenticate the request (which is done with the API key), and then handle the response.

In terms of what you're looking at, that's basic level programming. You'll basically set up an HTML form in your checkout page. The form will then likely be bound to some Javascript which will use Ajax to send the HTTP request to the external endpoint. From here, you'll receive a response depending on the data you sent via the form.

Here's the code you'd use for the JS (I've done this 100's of times):

Code:
// some_file.js
$(document).on("submit", "form#shipping", function(e) {
  e.preventDefault(); // stops form submit
  $.get("http://url.to.endpoint/", $(this).serialize() ).done(function(data){ $("#results").text(data); });
});
This would only be valid for gaining shipping rates. If you wanted to integrate the returned data into other parts of the application, that's where things get complicated. You'd also need to handle errors etc
 
OP
OP
ProcessPro

ProcessPro

Bronze Contributor
Speedway Pass
Apr 26, 2018
240
287
168
The simple answer with an API is that you are using your application to create a programmatic request to an Internet resource - person clicks onto "checkout.php", "checkout.php" automatically requests shipping rates by sending an HTTP request via cURL to one of the API endpoints you've mentioned.

In terms of your specific use-case, I doubt you would need to utilize the Wordpress API because that's only for inbound requests. You're sending outbound requests to the shipping API, so all you need is to be able to authenticate the request (which is done with the API key), and then handle the response.

In terms of what you're looking at, that's basic level programming. You'll basically set up an HTML form in your checkout page. The form will then likely be bound to some Javascript which will use Ajax to send the HTTP request to the external endpoint. From here, you'll receive a response depending on the data you sent via the form.

Here's the code you'd use for the JS (I've done this 100's of times):

Code:
// some_file.js
$(document).on("submit", "form#shipping", function(e) {
  e.preventDefault(); // stops form submit
  $.get("http://url.to.endpoint/", $(this).serialize() ).done(function(data){ $("#results").text(data); });
});
This would only be valid for gaining shipping rates. If you wanted to integrate the returned data into other parts of the application, that's where things get complicated. You'd also need to handle errors etc
Think I need a programmer.
 

Don't like ads? Remove them while supporting the forum. Subscribe.

Jello

Bronze Contributor
FASTLANE INSIDER
Read Millionaire Fastlane
I've Read UNSCRIPTED
Speedway Pass
Jan 1, 2018
102
227
164
51
NL
Learning some basic coding skills isn't a waste of time when dealing with programmers. You'll have some understanding what you're asking for and what they're billing you for.

Also it will give you some perspective about the direction you're heading.

You have to ask yourself is this a one time thing or are you going to get involved with coding more often in the future when working on your project or site.
 
OP
OP
ProcessPro

ProcessPro

Bronze Contributor
Speedway Pass
Apr 26, 2018
240
287
168
Learning some basic coding skills isn't a waste of time when dealing with programmers. You'll have some understanding what you're asking for and what they're billing you for.

Also it will give you some perspective about the direction you're heading.

You have to ask yourself is this a one time thing or are you going to get involved with coding more often in the future when working on your project or site.
True. Will take that into consideration.
 

lejus

Bronze Contributor
Read Millionaire Fastlane
Jun 8, 2017
67
102
120
UK
I am ok with html, css and wordpress I've tried API but I think my knowledge wasn't sufficient for it. Again is anything worth learning as an entrepreneur ? Well most of the time it is, even if you outsource it eventually, knowing basic will help you with decision of who to hire. If I have intermediate level knowledge of google advertising I was very close to hiring someone to do google ads for me till I asked few questions that they went blank on which made me realize they have no clue and plan to learn using my money it is better if I learn using my money or if I pay I want someone professional.
So this is how I see solutions you have:
1. Learn it - if you have 8 hours a day to code you can probably be good in 6 months or so, if you have 16 hours a day probably 2-3 months,is that worth it? Well if you don't have money it might be but you probably should work on your company more than in your company, but at the beginning it is often 90% of time in company 10% on company. Overtime it changes but without money it will force your hand.
2. Hire someone - as guys mention, upwork, peopleperhour, fiverr - all valid options, you will get someone cheaply they will do it. There are downsides to it: you will need to hire someone every time you need to do it, api occasionally failed on magento I had to pay for fixing it (wordpress seems more stable), occasionally I went with the same guys that done 2-3 jobs for me and they suddenly started overcharging for example they asked £275 for installing facebook pixel, saying that there is few extra steps they need to do, I've done it myself in short time, showed them it took me 30 minutes and never used them again, but bad tastes stayed in my mouth for a while. Basically you get what you pay for, I had some great experience with those websites and some horrible.
3. There are magento API ready solutions, which have usually multiple dropshippers integrated, it is the same for wordpress, it is worth asking those guys will they integrate it in their solution, if they say no, you can offer to pay them for integrating it. It will be more expensive than option 2 but : you will get good successful programmers, you will get constant support, you will get products from other dropshippers and it is very unlikely that their solutions starts failing, which is not that unlikely with option 2 from my experience. Some of those solutions are paid monthly or have high initial cost, so just for gaining another regular customers and improving offer for their current customers they might add it free, unlikely but it might happen.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Sponsored Offers

  • Sticky
FEATURED! Introducing... WEALTH EXPO$ED, A Short Story By MJ DeMarco
Got it several weeks ago and have listened to it several times now. I've definitely met both...
  • Sticky
MARKETPLACE Fox' Web School's "Legend" Group Coaching Program 2020
For those with the "can web design be Fastlane" question this video by @MJ DeMarco is a great...
  • Sticky
MARKETPLACE You Are One Call Away From Living Your Dream Life - LightHouse’s Accountability Program ⚡
Just got off the phone with @LightHouse. Having just a 45 minute conversation with him has...
  • Sticky
MARKETPLACE Kill Bigger Incubator
@Kak Out of curiosity, what types of businesses are you advising on? (I read this whole thread...
  • Sticky
MARKETPLACE Lex DeVille's - Advanced Freelance Udemy Courses!
Just bought 5 of your Upwork courses. Thanks for making valuable content Lex!
  • Sticky
MARKETPLACE Grow Your Business With a Book (An Unorthodox Marketing Strategy That Built One of the Largest...
Thanks for your offer to look at my book. Here's the link to the squeeze page Buy The Prosperous...



Forum Sponsor

sponsor

New Topics

Fastlane Insiders

View the forum AD FREE.
Private, unindexed content
Detailed process/execution threads
Monthly conference calls with doers
Ideas needing execution, more!

Join Fastlane Insiders.

Top Bottom