insert radio button inside payment_fields WooCommerce instead of credit card form





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















I an developing a custom payment method for WooCommerce. I want to add three radio button after my payment method is selected.



enter image description here



I have added this via browsers's inspect element toll. How can i do this and get the value of radio button inside the extend WooCommerce payment gateway class.










share|improve this question

























  • Welcome to SO. Have you done any research around this? Please show what you have done and where you are facing problem.

    – zipkundan
    Nov 16 '18 at 12:56











  • @zipkundan i used this public function payment_fields(){ my_form which consist of radio buttons } in my custom payment method plugin you can see in the screen shot i got the form under my payment method but problem is i want this radio button in order detail page as well .i want to get the value of selected button inside my class

    – Subhan Sunny
    Nov 16 '18 at 13:54













  • @zipkundan i have an idea but not getting any help on it either. idea is , at the time of installation assign new custom field to woocommerce order type post.then give the name of the custom field to my form fields and then at the time of order placement i'll be able to get the values of custom field as well but how can i assign custom field to order type post at the time of my plugin installation.???

    – Subhan Sunny
    Nov 16 '18 at 14:29











  • You should need at minima to provide the code of your custom payment gateway in the question itself. without it your question is too vague and unclear.

    – LoicTheAztec
    Nov 16 '18 at 17:11











  • @LoicTheAztec look at this question i posted again ... stackoverflow.com/questions/53365088/…

    – Subhan Sunny
    Nov 18 '18 at 20:28


















1















I an developing a custom payment method for WooCommerce. I want to add three radio button after my payment method is selected.



enter image description here



I have added this via browsers's inspect element toll. How can i do this and get the value of radio button inside the extend WooCommerce payment gateway class.










share|improve this question

























  • Welcome to SO. Have you done any research around this? Please show what you have done and where you are facing problem.

    – zipkundan
    Nov 16 '18 at 12:56











  • @zipkundan i used this public function payment_fields(){ my_form which consist of radio buttons } in my custom payment method plugin you can see in the screen shot i got the form under my payment method but problem is i want this radio button in order detail page as well .i want to get the value of selected button inside my class

    – Subhan Sunny
    Nov 16 '18 at 13:54













  • @zipkundan i have an idea but not getting any help on it either. idea is , at the time of installation assign new custom field to woocommerce order type post.then give the name of the custom field to my form fields and then at the time of order placement i'll be able to get the values of custom field as well but how can i assign custom field to order type post at the time of my plugin installation.???

    – Subhan Sunny
    Nov 16 '18 at 14:29











  • You should need at minima to provide the code of your custom payment gateway in the question itself. without it your question is too vague and unclear.

    – LoicTheAztec
    Nov 16 '18 at 17:11











  • @LoicTheAztec look at this question i posted again ... stackoverflow.com/questions/53365088/…

    – Subhan Sunny
    Nov 18 '18 at 20:28














1












1








1








I an developing a custom payment method for WooCommerce. I want to add three radio button after my payment method is selected.



enter image description here



I have added this via browsers's inspect element toll. How can i do this and get the value of radio button inside the extend WooCommerce payment gateway class.










share|improve this question
















I an developing a custom payment method for WooCommerce. I want to add three radio button after my payment method is selected.



enter image description here



I have added this via browsers's inspect element toll. How can i do this and get the value of radio button inside the extend WooCommerce payment gateway class.







php wordpress woocommerce payment-gateway






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 16 '18 at 13:47









atline

3,159102138




3,159102138










asked Nov 16 '18 at 11:20









Subhan SunnySubhan Sunny

113




113













  • Welcome to SO. Have you done any research around this? Please show what you have done and where you are facing problem.

    – zipkundan
    Nov 16 '18 at 12:56











  • @zipkundan i used this public function payment_fields(){ my_form which consist of radio buttons } in my custom payment method plugin you can see in the screen shot i got the form under my payment method but problem is i want this radio button in order detail page as well .i want to get the value of selected button inside my class

    – Subhan Sunny
    Nov 16 '18 at 13:54













  • @zipkundan i have an idea but not getting any help on it either. idea is , at the time of installation assign new custom field to woocommerce order type post.then give the name of the custom field to my form fields and then at the time of order placement i'll be able to get the values of custom field as well but how can i assign custom field to order type post at the time of my plugin installation.???

    – Subhan Sunny
    Nov 16 '18 at 14:29











  • You should need at minima to provide the code of your custom payment gateway in the question itself. without it your question is too vague and unclear.

    – LoicTheAztec
    Nov 16 '18 at 17:11











  • @LoicTheAztec look at this question i posted again ... stackoverflow.com/questions/53365088/…

    – Subhan Sunny
    Nov 18 '18 at 20:28



















  • Welcome to SO. Have you done any research around this? Please show what you have done and where you are facing problem.

    – zipkundan
    Nov 16 '18 at 12:56











  • @zipkundan i used this public function payment_fields(){ my_form which consist of radio buttons } in my custom payment method plugin you can see in the screen shot i got the form under my payment method but problem is i want this radio button in order detail page as well .i want to get the value of selected button inside my class

    – Subhan Sunny
    Nov 16 '18 at 13:54













  • @zipkundan i have an idea but not getting any help on it either. idea is , at the time of installation assign new custom field to woocommerce order type post.then give the name of the custom field to my form fields and then at the time of order placement i'll be able to get the values of custom field as well but how can i assign custom field to order type post at the time of my plugin installation.???

    – Subhan Sunny
    Nov 16 '18 at 14:29











  • You should need at minima to provide the code of your custom payment gateway in the question itself. without it your question is too vague and unclear.

    – LoicTheAztec
    Nov 16 '18 at 17:11











  • @LoicTheAztec look at this question i posted again ... stackoverflow.com/questions/53365088/…

    – Subhan Sunny
    Nov 18 '18 at 20:28

















Welcome to SO. Have you done any research around this? Please show what you have done and where you are facing problem.

– zipkundan
Nov 16 '18 at 12:56





Welcome to SO. Have you done any research around this? Please show what you have done and where you are facing problem.

– zipkundan
Nov 16 '18 at 12:56













@zipkundan i used this public function payment_fields(){ my_form which consist of radio buttons } in my custom payment method plugin you can see in the screen shot i got the form under my payment method but problem is i want this radio button in order detail page as well .i want to get the value of selected button inside my class

– Subhan Sunny
Nov 16 '18 at 13:54







@zipkundan i used this public function payment_fields(){ my_form which consist of radio buttons } in my custom payment method plugin you can see in the screen shot i got the form under my payment method but problem is i want this radio button in order detail page as well .i want to get the value of selected button inside my class

– Subhan Sunny
Nov 16 '18 at 13:54















@zipkundan i have an idea but not getting any help on it either. idea is , at the time of installation assign new custom field to woocommerce order type post.then give the name of the custom field to my form fields and then at the time of order placement i'll be able to get the values of custom field as well but how can i assign custom field to order type post at the time of my plugin installation.???

– Subhan Sunny
Nov 16 '18 at 14:29





@zipkundan i have an idea but not getting any help on it either. idea is , at the time of installation assign new custom field to woocommerce order type post.then give the name of the custom field to my form fields and then at the time of order placement i'll be able to get the values of custom field as well but how can i assign custom field to order type post at the time of my plugin installation.???

– Subhan Sunny
Nov 16 '18 at 14:29













You should need at minima to provide the code of your custom payment gateway in the question itself. without it your question is too vague and unclear.

– LoicTheAztec
Nov 16 '18 at 17:11





You should need at minima to provide the code of your custom payment gateway in the question itself. without it your question is too vague and unclear.

– LoicTheAztec
Nov 16 '18 at 17:11













@LoicTheAztec look at this question i posted again ... stackoverflow.com/questions/53365088/…

– Subhan Sunny
Nov 18 '18 at 20:28





@LoicTheAztec look at this question i posted again ... stackoverflow.com/questions/53365088/…

– Subhan Sunny
Nov 18 '18 at 20:28












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53336853%2finsert-radio-button-inside-payment-fields-woocommerce-instead-of-credit-card-for%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53336853%2finsert-radio-button-inside-payment-fields-woocommerce-instead-of-credit-card-for%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Florida Star v. B. J. F.

Error while running script in elastic search , gateway timeout

Retrieve a Users Dashboard in Tumblr with R and TumblR. Oauth Issues