payment

WooCommerce - hide payment gateway

岁酱吖の 提交于 2019-12-06 15:03:00
How I can hide a payment-gateway plugin for specific customer on WooCommerce , for example if the customer's first name is : Peter , the plugin will not show for him. eg: Woocommerce hide payment gateway for user roles I hope this will work for you , if any problem persist please let me know. function woo_disable_cod( $available_gateways ) { $current_user = wp_get_current_user(); //check whether the avaiable payment gateways have Cash on delivery and user is not logged in or he is a user with role customer if ( isset($available_gateways['cod']) && ((current_user_can('customer') && $current

Iframe payone redirect parent

↘锁芯ラ 提交于 2019-12-06 14:52:56
问题 I have one payment form. When I submit that form it will redirect to PAYONE for payment information when I successfully submitted. That page redirect to success link of my site for further details. Now my question start: I open my payment gateway (PAYONE) page into an iframe in same window. But when I successfully submitted information and click to submit. Then it will redirect in the iframe . How can I redirect to success link which I provided in post data? 回答1: I know this Q&A is older than

Stripe Custom Checkout with dynamically amount

杀马特。学长 韩版系。学妹 提交于 2019-12-06 14:42:41
I need to implement a stripe solution for a registration system. In this registration, users pay a single time payment and have the choice to make a donation. My problem is how to show dynamically the total amount (Registration + donation)with checkout.js ? The payment works perfectly on Stripe Dashboard. Donation + Registration fee are added together. My problem is to dynamically put the amount on the checkout window. On this window, just appear "Pay", I want if it's possible to have Pay $amount. For information, I'm using Wordpress. Thank you. Here is my page.php : <form action="myURL/charge

Magento Payment Info Block

人盡茶涼 提交于 2019-12-06 13:01:08
问题 I have created new payment method (gateway). In this gateway I sending information to bank for credit payment and I use some additional payment options like Name/Person Age/Person Profit/Credit Term/... By this fields I calculate Credit Term and send all of this data to bank. I would like to show this information in Payment Method info block (right sidebar in default theme), but I would not like to save this fields to database (so in admin area later I will have information like it was

Add custom meta data after Payment confirmation in WooCommerce

痞子三分冷 提交于 2019-12-06 12:49:05
问题 I was looking around the web for a solution to add the response from the payment gateway I am using. I would like to add the verification code I get and some more data. I need to add this once the payment is complete. // Payment complete $order->payment_complete($payment_id); I did try this code but does not work for me: add_action('woocommerce_checkout_update_order_meta', 'my_custom_checkout_field_update_order_meta'); function my_custom_checkout_field_update_order_meta( $order_id ) { update

Cancellation postback discontinued from Google Wallet For Digital Goods

爱⌒轻易说出口 提交于 2019-12-06 11:35:48
问题 Does anyone know why Google Wallet for Digital Goods doesn't send postback requests to the server when subscription was cancelled? Is there some delay or this is a bug? I didn't saw nothing about delays. And some time ago cancellation pastback come to my server in a few seconds. Today I see that no cancellation pastback for the several hours. When I make payment, my server gets postback requests for new payments, unfortunately server receives nothing when I cancel my subscription in Google

RBS WorldPay Integration

余生颓废 提交于 2019-12-06 11:04:36
问题 Ok I'm stuck, I've looked at some other questions on here but no help, I've searched online, I've logged into my test account but I can't find any documentation anywhere. Does anyone have links to the WorldPay documentation, specifically when a 'Payment Response' is made, what format is it in? 回答1: The documentation can be found at http://rbsworldpay.com/support/bg/index.php?page=guides&c=UK Sounds like you need the 'Payment Notifications' guide, The Payment Response is an HTTP POST and is

Payumoney Codeigniter Integration

时光怂恿深爱的人放手 提交于 2019-12-06 11:02:33
问题 I am working on CodeIgniter payUmoney integration. I have a registration form from where one registers and get paid with payUmoney payment gateway and form contains multiple select fields also. I need to use the payUmoney payment gateway. So please help me that how can I insert the records into the database after the successful transaction in CodeIgniter.? Actually here is my form. Now, what I want to submit the form but After successful payment. For me a little problem that where will I

Stripe payment Android

孤者浪人 提交于 2019-12-06 08:46:29
I want to create payment using Stripe Api i created every thing in android and now i can get the token but he said send it to your server the problem that i can't find the server code or web service that will take my token and go pay with it any help please https://stripe.com/docs/mobile/android Card card = new Card("4242424242424242", 12, 2017, "123"); Stripe stripe = new Stripe("pk_test_6pRNASCoBOKtIshFeQd4XMUh"); stripe.createToken( card, new TokenCallback() { public void onSuccess(Token token) { // Send token to your server //what should i do in this step i want any code in php that do

Multi merchant payment system with PayPal

让人想犯罪 __ 提交于 2019-12-06 08:22:45
问题 I need to build web application where users can sell goods. Each user should be able to get money directly on his PayPal account. Can you suggest which PayPal service/payment method (or other payment system) it is better/safely to use in this case? Thanks in advance 回答1: This is easily set up (if I read your requirements correctly). You would have to create your part of the system, but that's obvious. The rest, specifically vendor payments, could be handled all by PayPal. PayPal could process