PHP code within Cheque description Textbox? (1 post)

  1. bala_hereticwear
    Posted 3 years ago #

    I'm new to php. Is it possible to add code within the description textbox in the cheque gateway? I tried but the code becomes visible in the checkout page (except <?PHP which is not visible).

    Background: I am using the cheque gateway for a cash-before-delivery option. The service provider for this option only operates in certain cities. They have provided me with a CSV file of Post Codes they can service. I need to check if the customer, when choosing this payment option, has provided a valid post code. One option I thought of would be a text input field within the payment gateway option where the customer can enter the post code and a button next to it "check if available". Once the customer clicks, it checks the CSV if the pin code is serviceable and displays a dialog box with success or failure message.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by bala_hereticwear
  • This topic is not resolved
  • WordPress version: 3.4.2