• Building a WordPress Site – PHP/JavaScript/SOAP

    Hi all,

    I am new to WordPress/PHP/JavaScript/SOAP/WooCommerce and need to build an eCommerce site using these technologies.

    I come from an embedded C, C#.Net, MS SQL background and would like to confirm whether my chosen approach is the right one or at least a right way to go about this. I
    think I have picked the most appropriate forum, apologies if not.

    The site sells software. After a successful purchase has been made, the download link along with the product activation code should be emailed to the user.

    To achieve this I think I need to:-

    Download WordPress and then upload to a server – I’ve decided on Bluehost

    Then download Apache, MySQL and PHP – WAMP
    Build the CMS on my PC along with all pages required – several products to purchase along with Buy buttons
    Install StoreFront WooCommerce Plugin
    Write some JavaScript – an event listener that executes when the Buy button is pressed
    The JavaScript makes a HTTPS request to a PHP Plugin (I will write) once the transaction has been confirmed.
    The JavaScript passes on the Product Code
    The PHP plugin then contacts a SOAP Web Service which returns a download link and an activation code to the PHP plugin.
    Use the WP_Mail API to email the customer the download link and activation code

    Upload the new version to Bluehost

    I am also wondering whether all the above functionality can be achieved using WordPress.com and would that be a cheaper option.

    Any advice much appreciated! Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Your host will provide you with Apache, MySQL, etc unless you’re building your own VPS.

    There are a number of plugins to facilitate selling software and licenses; you don’t have to write this yourself.

    Look at both WooCommerce and Easy Digital Downloads.

    Thread Starter thevasuthan

    (@thevasuthan)

    Ok Thanks @sterndata.
    Can the functionality be achieved using WordPress.Com then,do you know ?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Due to the differences between the various site hosting plans offered at wordpress.com and the self-hosted and self-installed version of WordPress supported here, you should probably ask WordPress.com Support instead.

    Thread Starter thevasuthan

    (@thevasuthan)

    Ok Great – Thanks I will.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Building a WordPress Site – PHP/JavaScript/SOAP’ is closed to new replies.