payment-gateway

Remove some payment gateways if any coupon code is applied in Woocommerce

时间秒杀一切 提交于 2020-05-28 04:32:37
问题 I started to work on small Woocommerce project. I have 3 payment gateways into this store: Paypal, Credit Card and Direct bank Transfer. What I would like is: If coupon code is used, I would like to disable (or remove) Paypal and Credit Card from available payment gateways, and just keep "Direct bank Transfer" as available payment gateway choice. To show how is look current state from checkout page: I found a similar solution, but this is for removing gateway based on product category. add

Django: unable to read POST parameters sent by payment gateway

喜夏-厌秋 提交于 2020-04-07 08:07:56
问题 I am unable to read POST parameters sent by payment gateway after payment was processed. Payment gateway redirects to returnUrl (I pass this to payment gateway before payment was processed) with some parameters by POST request. In url.py path('cashfreeresponse/',views.cashfree_response, name='cashfree_response'), in views.py @csrf_exempt @login_required def cashfree_response(request): print(request.method) if request.method == "POST": print('inside post method') print(request.POST.get('cf

Django: unable to read POST parameters sent by payment gateway

巧了我就是萌 提交于 2020-04-07 08:05:33
问题 I am unable to read POST parameters sent by payment gateway after payment was processed. Payment gateway redirects to returnUrl (I pass this to payment gateway before payment was processed) with some parameters by POST request. In url.py path('cashfreeresponse/',views.cashfree_response, name='cashfree_response'), in views.py @csrf_exempt @login_required def cashfree_response(request): print(request.method) if request.method == "POST": print('inside post method') print(request.POST.get('cf

ASP.NET losing session upon redirection from CCAvenue payment gateway

99封情书 提交于 2020-03-25 19:38:30
问题 I am using ASP.net webforms and successfully integrated the payment gateway. The problem I'm facing is that while I'm posting data to the payment gateway it process the payment and send backs the response to our web application and user gets logged out i.e. because user session getting cleared and sets back to null .I thought this occurs because of HTTP to HTTPS connection as every gateway uses https as a security. and after getting redirected to https it removes all the cookies and session

How to create digitally signed Xml Message using standard ISO20022 in .net ( C# )?

霸气de小男生 提交于 2020-03-21 06:39:30
问题 My project needs integration with payment gateway. The project is built in .net ( c# ) To integrate the gateway i need to sign XML message digitally following ISO 20022 standard. I am using dot net library SignedXml of System.Security.Cryptography The sample format and my code is shown below : Sample Code: <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> <ds:SignatureMethod Algorithm=

How to create digitally signed Xml Message using standard ISO20022 in .net ( C# )?

心不动则不痛 提交于 2020-03-21 06:38:33
问题 My project needs integration with payment gateway. The project is built in .net ( c# ) To integrate the gateway i need to sign XML message digitally following ISO 20022 standard. I am using dot net library SignedXml of System.Security.Cryptography The sample format and my code is shown below : Sample Code: <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> <ds:SignatureMethod Algorithm=

Iframe occasionally loses session cookies

删除回忆录丶 提交于 2020-02-25 06:22:04
问题 Occasionally on submitting a payment form in an iframe, the postback from the payment gateway results in the user being logged out as the request is missing the ASP.NET_SessionId cookie (we are using state-server). It's not the app pool recycling causing the issue as I have checked those logs. It also only happens in the production environment. I can see the session cookie exists just before the form is submitted so I can't figure out where it is losing it. 回答1: You need to check if you are

www.paypal.com/jp/cgi-bin/webscr? item_name encoding

∥☆過路亽.° 提交于 2020-02-24 05:38:52
问题 I am working on a site that is trying pass a japanese item name to paypal through this form <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> <input name="cmd" value="_xclick" type="hidden"> <input name="item_name" value="フォトグラフィー基礎コース" type="hidden"> <input name="amount" value="59000" type="hidden"> <input name="currency_code" value="JPY" type="hidden"> <input type="hidden" name="item_number" value="PHP001"> <input name="no_note" value="0" type="hidden">

PHP Payment Library [closed]

ぐ巨炮叔叔 提交于 2020-02-18 13:57:10
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Is there a simple PHP payment library that can handle multiple payment gateways? I don't mind processing the payment at the payment gateway website rather than on my site and don't want to store CC information in my site, but I want the flexibility choosing the gateway without changing the code (or little change

PHP Payment Library [closed]

馋奶兔 提交于 2020-02-18 13:56:52
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Is there a simple PHP payment library that can handle multiple payment gateways? I don't mind processing the payment at the payment gateway website rather than on my site and don't want to store CC information in my site, but I want the flexibility choosing the gateway without changing the code (or little change