WordPress Payment Integration

  • Unknown's avatar

    I am trying to add a payment button to my WordPress site but I am facing a challenge with where to insert the JavaScript code. I need to do the following:
    Add a web plugin before closing my tag:

    Add this as the main Js to handle the button:

    new window.IntaSend({
    publicAPIKey: ”,
    live: false //set to true when going live
    })
    .on(‘COMPLETE’, (results) => console.log(‘Do something on success’, results))
    .on(‘FAILED’, (results) => console.log(‘Do something on failure’, results))
    .on(‘IN-PROGRESS’, (results) => console.log(‘Payment in progress status’, results))

    WP.com: Yes
    Jetpack: Yes
    Correct account: Yes

    The blog I need help with is: (visible only to moderators and staff)

  • Unknown's avatar
  • Hi –

    Thanks for reaching out to us. On WordPress.com we offer several ways to integrate payments across all of our hosting plans. Take a look at this page to learn more about those options:

    WP
    Video Tutorials » Video Tutorials: Add Payments Features to Your Site with Our Guides
    2 min read
    A wide variety of payments features exist on WordPress.com allowing you to make money from your site. From simple payment blocks built into WordPress.com to more advanced ecommerce plugins – there’s something to fit every need. Explore the below video tutorials created by the WordPress.com team to help you get up and running. Overview: Payment Features (Video) Before you dive in and add

    It won’t be possible to incorporate java script on our managed hosting solution.

    Add Code to Your Site

    Please let us know if you have more questions about how this works or how to set up these different payment options. What sort of products are you selling? We stick close by and are happy to help.

  • Unknown's avatar

    Hi. Okay I will go through the videos and let you know in case of any questions

  • The topic ‘WordPress Payment Integration’ is closed to new replies.