{"id":24,"date":"2008-11-30T19:20:47","date_gmt":"2008-11-30T18:20:47","guid":{"rendered":"http:\/\/www.withinweb.com\/info\/?p=24"},"modified":"2008-11-30T19:22:15","modified_gmt":"2008-11-30T18:22:15","slug":"php-keycodes-custom-field","status":"publish","type":"post","link":"https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/","title":{"rendered":"PHP-KeyCodes custom field"},"content":{"rendered":"<p>When you sell pin codes or software licence codes using <a href=\"http:\/\/www.withinweb.com\/phpkeycodes\/\">PHP-KeyCodes<\/a>, you may want the customer to enter in some text during purchase which is returned to you in the purchase information.   This might be the type of cellphone, or some other information that you require for you records.<\/p>\n<p>PayPal has a field called &#8216;custom&#8217; which is a pass through field where any data entered into the field will be passed unchanged to PayPal and returned inside the IPN data.<\/p>\n<p>In PHP-KeyCodes, entering text into the custom field is returned with the IPN payment details and the data is stored in the tblsaleshistory table along with all the other PayPal details and the purchased licence codes.<\/p>\n<p>To use this feature all you need to do is add an html input text field as shown in <a href=\"http:\/\/www.withinweb.com\/phpkeycodes\/handbuttons.php\">http:\/\/www.withinweb.com\/phpkeycodes\/handbuttons.php<\/a> The maximum number of characters that can be entered is 255.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you sell pin codes or software licence codes using PHP-KeyCodes, you may want the customer to enter in some text during purchase which is returned to you in the purchase information. This might be the type of cellphone, or<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/\">Read more <span class=\"screen-reader-text\">PHP-KeyCodes custom field<\/span><span class=\"meta-nav\"> &#8250;<\/span><\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-php-keycodes"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>PHP-KeyCodes custom field - PHP Web Applications<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP-KeyCodes custom field - PHP Web Applications\" \/>\n<meta property=\"og:description\" content=\"When you sell pin codes or software licence codes using PHP-KeyCodes, you may want the customer to enter in some text during purchase which is returned to you in the purchase information. This might be the type of cellphone, or&hellip;Read more PHP-KeyCodes custom field &#8250;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/\" \/>\n<meta property=\"og:site_name\" content=\"PHP Web Applications\" \/>\n<meta property=\"article:published_time\" content=\"2008-11-30T18:20:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2008-11-30T18:22:15+00:00\" \/>\n<meta name=\"author\" content=\"paulv\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"paulv\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/php-keycodes-custom-field\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/php-keycodes-custom-field\\\/\"},\"author\":{\"name\":\"paulv\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"headline\":\"PHP-KeyCodes custom field\",\"datePublished\":\"2008-11-30T18:20:47+00:00\",\"dateModified\":\"2008-11-30T18:22:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/php-keycodes-custom-field\\\/\"},\"wordCount\":155,\"commentCount\":0,\"articleSection\":[\"PHP-KeyCodes\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/php-keycodes-custom-field\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/php-keycodes-custom-field\\\/\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/php-keycodes-custom-field\\\/\",\"name\":\"PHP-KeyCodes custom field - PHP Web Applications\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#website\"},\"datePublished\":\"2008-11-30T18:20:47+00:00\",\"dateModified\":\"2008-11-30T18:22:15+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/php-keycodes-custom-field\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/php-keycodes-custom-field\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/php-keycodes-custom-field\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP-KeyCodes custom field\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/\",\"name\":\"PHP Web Applications\",\"description\":\"Information and support for products of WithinWeb.com\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\",\"name\":\"paulv\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/author\\\/paulv\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"PHP-KeyCodes custom field - PHP Web Applications","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/","og_locale":"en_US","og_type":"article","og_title":"PHP-KeyCodes custom field - PHP Web Applications","og_description":"When you sell pin codes or software licence codes using PHP-KeyCodes, you may want the customer to enter in some text during purchase which is returned to you in the purchase information. This might be the type of cellphone, or&hellip;Read more PHP-KeyCodes custom field &#8250;","og_url":"https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/","og_site_name":"PHP Web Applications","article_published_time":"2008-11-30T18:20:47+00:00","article_modified_time":"2008-11-30T18:22:15+00:00","author":"paulv","twitter_card":"summary_large_image","twitter_misc":{"Written by":"paulv","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/#article","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/"},"author":{"name":"paulv","@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"headline":"PHP-KeyCodes custom field","datePublished":"2008-11-30T18:20:47+00:00","dateModified":"2008-11-30T18:22:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/"},"wordCount":155,"commentCount":0,"articleSection":["PHP-KeyCodes"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/","url":"https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/","name":"PHP-KeyCodes custom field - PHP Web Applications","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/#website"},"datePublished":"2008-11-30T18:20:47+00:00","dateModified":"2008-11-30T18:22:15+00:00","author":{"@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"breadcrumb":{"@id":"https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.withinweb.com\/info\/php-keycodes-custom-field\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.withinweb.com\/info\/"},{"@type":"ListItem","position":2,"name":"PHP-KeyCodes custom field"}]},{"@type":"WebSite","@id":"https:\/\/www.withinweb.com\/info\/#website","url":"https:\/\/www.withinweb.com\/info\/","name":"PHP Web Applications","description":"Information and support for products of WithinWeb.com","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.withinweb.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c","name":"paulv","url":"https:\/\/www.withinweb.com\/info\/author\/paulv\/"}]}},"_links":{"self":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":4,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"predecessor-version":[{"id":28,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/24\/revisions\/28"}],"wp:attachment":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}