payment-gateway

Charging existing card and customer with security code on stripe

ぃ、小莉子 提交于 2019-12-02 03:54:54
问题 We are using Stripe to process payments on a website we are working on Whenever a customer signs up we create a customer on Stripe and save the customer_Id in the DB against against the customer. Also when a customer places an order on the website we give the option to save the card for future uses. So we save the card against the customer as a payment source on stripe. This is the code we use to create the payment source: public void CreatePaymentSource(int customerId, string paymentToken) {

Hash param is missing in payU payment gateway android integration

主宰稳场 提交于 2019-12-02 03:48:22
I need to integrate payU payment gateway in my android app. But when app is trying to to get hash key it gives me error saying that Hash param is missing In demo app there are two option to generate hash if(null == salt) generateHashFromServer(mPaymentParams); else generateHashFromSDK(mPaymentParams, intent.getStringExtra(PayuConstants.SALT)); In demo app there are note saying that hash key generation should be done on server side so I am passing salt as null but Now the question is Which server url I have to use to generate hash? Demo app is using this url https://payu.herokuapp.com/get_hash

Can't run javascript alerts in universal app's webview at payment gateway

别说谁变了你拦得住时间么 提交于 2019-12-02 03:05:55
I am integrating payment gateway in my universal windows app where I open the URL in a webview. However, webview can't seem to display javascript alert messages or popups. I read online that I need to add url's of website in package manifest to enable Scriptnotify event to run but given it's a payment gateway, it's not feasible to add url's for all bank websites. Is there a way to handle this ? Also I am handling the ScriptNotify event as this, but this seems to be partially correct. private async void MyWebView_ScriptNotify(object sender, NotifyEventArgs e) { Windows.UI.Popups.MessageDialog

Hash in coldfusion for secure payment gateway

笑着哭i 提交于 2019-12-02 02:50:33
问题 I am trying to create a hash password in coldfusion for our secure payment gateway to accept a transaction. Unfortunately the payment gateway is refusing to accept my generated hash. The form sends through all the elements of the transaction and sends a generated hash based on five different fields. In PHP it is-: <?php echo hash('sha256', ' test_site1234 GBP OrderTotal OrderID PASSWORD ');; ?> Am I right in thinking the code in coldfusion should be -: <cfset sitesecurity = Hash("test

PHP server side post

北城以北 提交于 2019-12-02 02:29:02
问题 I am trying to get a server side POST to work in PHP. I am trying to send transaction data to a payment gateway but I keep getting the following error: Message: fopen(https://secure.ogone.com/ncol/test/orderstandard.asp) : failed to open stream: HTTP request failed! HTTP/1.1 411 Length Required Code: $opts = array( 'http' => array( 'Content-Type: text/html; charset=utf-8', 'method' => "POST", 'header' => "Accept-language: en\r\n" . "Cookie: foo=bar\r\n" ) ); $context = stream_context_create(

How to Redirect Success or Failure Payment in Razorpay

*爱你&永不变心* 提交于 2019-12-02 02:02:01
I am New to Integrate Payment Gateway. How to Redirect a URL after Success or Failure Payments in Razorpay. I want Js Code. I thing handler function can use that redirect. How to Use them var options = { "key": "rzp_test_aIfnpuWEudWnID", "amount": "35000", // 2000 paise = INR 20 "name": "Vanakkam Chennai", "description": "I Run.. Becasue .. I Care", "image": "http://vanakkamchennai.com/images/about/chennai_2017.jpg", "callback_url": 'https://www.google.com', "handler": function (response){ alert(response.razorpay_payment_id); }, "prefill": { "name": "Harshil Mathur", "email": "harshil@razorpay

Charging existing card and customer with security code on stripe

…衆ロ難τιáo~ 提交于 2019-12-02 00:50:59
We are using Stripe to process payments on a website we are working on Whenever a customer signs up we create a customer on Stripe and save the customer_Id in the DB against against the customer. Also when a customer places an order on the website we give the option to save the card for future uses. So we save the card against the customer as a payment source on stripe. This is the code we use to create the payment source: public void CreatePaymentSource(int customerId, string paymentToken) { var customer = _customerProvider.GetLoggedInCustomer(customerId); //returns the customer_id e.g. cux

PayFlow PayPal recurring Payment EXPDATE Validation

China☆狼群 提交于 2019-12-01 23:20:34
问题 Hi I have been trying to validate CC no., CVV no., EXPDATE of the users credit card for recurring billing in PayFlow. The main objective is to let the user have access to subscription products only if the credit card is valid. I have been advised to check the card prior to creating the profile you could run a credit card verification ($0 authorization) So I did it and I got [RESPMSG] => Verified Here's my request and response messages: Request Array ( [TRXTYPE] => A [TENDER] => C [PARTNER] =>

PayFlow PayPal recurring Payment EXPDATE Validation

可紊 提交于 2019-12-01 22:32:32
Hi I have been trying to validate CC no., CVV no., EXPDATE of the users credit card for recurring billing in PayFlow. The main objective is to let the user have access to subscription products only if the credit card is valid. I have been advised to check the card prior to creating the profile you could run a credit card verification ($0 authorization) So I did it and I got [RESPMSG] => Verified Here's my request and response messages: Request Array ( [TRXTYPE] => A [TENDER] => C [PARTNER] => PayPal [USER] => XXXXX [PWD] => XXXXX [AMT] => 0 [ACCT] => 5105105105105100 [EXPDATE] => 1218 [INVNUM]

Redirect with POST parameters in MVC 4 for Payment Gateway Integration

十年热恋 提交于 2019-12-01 21:39:50
I am trying to do a payment gateway integration using mvc4 in razor. In that i need to call a page with prefilled post form. Using the below method, I am forming the post method form: private static string PreparePOSTForm(string url, System.Collections.Hashtable data) // post form { //Set a name for the form string formID = "PostForm"; //Build the form using the specified data to be posted. StringBuilder strForm = new StringBuilder(); strForm.Append("<form id=\"" + formID + "\" name=\"" + formID + "\" action=\"" + url + "\" method=\"POST\">"); foreach (System.Collections.DictionaryEntry key in