payment

Add custom meta data after Payment confirmation in WooCommerce

纵然是瞬间 提交于 2019-12-04 19:23:59
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_post_meta( $order_id, 'My Field', 'test'); } Any help will be appreciated You should better use

RBS WorldPay Integration

若如初见. 提交于 2019-12-04 17:37:14
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? 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 sent when a payment is Authorised or the user clicks 'Cancel' on the payment page. You can find the set of

Cancellation postback discontinued from Google Wallet For Digital Goods

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 16:36:41
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 Wallet console (either Merchant Center or Buyer Center). This behavior is observed in real and sandbox

Payumoney Codeigniter Integration

社会主义新天地 提交于 2019-12-04 16:14:43
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 store the data till payment succeeded. Means I want to store the data after a successful transaction. One

Laravel 5: how to redirect with data to external resource form controller

邮差的信 提交于 2019-12-04 15:31:02
问题 I want to send user to payment gate. Normally it could be made by this form: <form method="post" action="https://demo.moneta.ru/assistant.htm"> <input type="hidden" name="MNT_ID" value="12345678"> <input type="hidden" name="MNT_TRANSACTION_ID" value="000001"> <input type="hidden" name="MNT_CURRENCY_CODE" value="USD"> <input type="hidden" name="MNT_AMOUNT" value="123.45"> <input type="submit" value="Pay"> </form> User press "Pay" and redirect to payment gate. But I want implement this workflow

How to get value back from Paypal?

有些话、适合烂在心里 提交于 2019-12-04 14:57:14
I am facing this problem from last month. First i was able to get value back from paypal. Now I am not able to get back value from paypal. I am using following code. <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" style="padding: 0; margin: 0;"> <input type="hidden" name="cmd" value="_xclick/" /> <input type="hidden" name="business" value="my_bussiness_id" /> <input type="hidden" name="quantity" value="1" /> <input type="hidden" name="item_name" value="item" /> <input type="hidden" name="item_number" value="1" /> <input type="hidden" name="amount" value="item_price"

How to integrate BHIM app payment gateway in an Android App?

我怕爱的太早我们不能终老 提交于 2019-12-04 12:33:13
问题 How to integrate BHIM app payment gateway in an android app, through upi id? I have no idea about payment gateway,I have not implemented payment gateway before. Please help me how to integrate payment gateway in an android app?(I want to integrate payment through BHIM app) 回答1: You can try DeepLinking UPI supported application. This way you can make a payment via any UPI supported application (BHIM, Phonepe, Paytm and all bank UPI apps) Code for deeplinking is as follow: Uri uri = Uri.parse(

Multi merchant payment system with PayPal

Deadly 提交于 2019-12-04 11:43:47
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 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 the orders into individual accounts. You would simply have to use the same IPN notification file for each

Magento Payment workflow and event order paid

天大地大妈咪最大 提交于 2019-12-04 10:37:52
For one of my Magento module I need to catch the event “any order is defined as paid”. So I found that the associated event is sales_order_payment_pay. Ok seems to fit perfectly with my needs. I’m a Magento dev, not a merchant and, for the moment, I’ve never put a Magento instance online and in production. So the payment workflow is quite dark to me. I used to select “Check/Money Order” as payment method during my tests. The problem is : I need to catch this event (sales_order_payment_pay) but it seems I can’t trigger it and never enter in my observer function. I have currently 2 payment