Integrating Payment Processor (3 posts)

  1. getjohnv
    Posted 3 years ago #

    I'm planning to integrate a payment processor into my checkout Woocommerce plugin.

    The platform I'm using accepts payments through bank cards. They provide the following lines of code for website integration (into their framework).

    <div width="120px">
    <form method="post" action="https://voguepay.com/pay/">
    Enter Amount<br />
    <input type="text" name="total" style="width:120px" /><br />
    <input type="hidden" name="v_merchant_id" value="12347-5552" />
    <input type="hidden" name="notify_url" value="" />
    <input type="hidden" name="success_url" value="" />
    <input type="hidden" name="fail_url" value="" />
    <input type="hidden" name="memo" value="Payment to G Accessories" />
    <input type="image" src="http://voguepay.com/images/buttons/make_payment_blue.png" alt="PAY" />

    I inserted it in the 'Edit Page' text box for my Checkout page (under the [woocommerce_checkout] shortcode).

    On testing, when I click on 'Place Order', the following error comes up (just the raw code shows up on the page):

        Action failed. Please refresh the page and retry.<\/li>\n\t\t\t
        Sorry, your session has expired. Return to homepage →<\/a><\/li>\n\t\t\t
        First Name<\/strong> is a required field.<\/li>\n\t\t\t
        Last Name<\/strong> is a required field.<\/li>\n\t\t\t
        Address<\/strong> is a required field.<\/li>\n\t\t\t
        Town\/City<\/strong> is a required field.<\/li>\n\t\t\t
        Postcode\/Zip<\/strong> is a required field.<\/li>\n\t\t\t
        Country<\/strong> is a required field.<\/li>\n\t\t\t
        State\/County<\/strong> is a required field.<\/li>\n\t\t\t
        Email Address<\/strong> is a required field.<\/li>\n\t\t\t
        Phone<\/strong> is a required field.<\/li>\n\t<\/ul>","refresh":"false"}

    How would you advise that I would integrate this payment option (which is the primary, maybe only one) that I plan to use, into Woocommerce.

    Thanks a lot.


  2. getjohnv
    Posted 3 years ago #

    Please can anybody help with this?

  3. samueljeden
    Posted 3 years ago #

    Hi John,

    Unfortunately integrating a processor isn't as simple as copying that code from the website onto your woocommerce_checkout.

    It needs to be actually integrated with woocommerce core functionality.

    you can post it at http://ideas.woothemes.com/forums/133476-woocommerce

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.