Disable the Payment Methods option on the PayPal page (PayPal NVP)

Hi, I am using PayPal with NVP, Below is the request to SetExpressCheckout

string returnURL = "http://localhost:50325/GetExpressCheckout.aspx" + "?amount=" + Amount + "ยคcy=AUD"; string cancelURL = returnURL.Replace("ReviewOrder", "ExpCheckOut"); string strCredentials = "USER=" + strUsername + "&PWD=" + strPassword + "&SIGNATURE=" + strSignature; string strNVP = strCredentials; strNVP += "&PAYMENTACTION=Sale&AMT=" + Amount + "&BILLINGTYPE=MerchantInitiatedBilling" + "&RETURNURL=" + returnURL; strNVP += "&PAYMENTREQUEST_0_ITEMAMT=25&L_PAYMENTREQUEST_0_NAME0=Item1"; strNVP += "&CANCELURL=" + cancelURL; strNVP += "&METHOD=SetExpressCheckout&VERSION=" + strAPIVersion + "&NOSHIPPING=1"; HttpWebRequest wrWebRequest = (HttpWebRequest)WebRequest.Create(strNVPSandboxServer); wrWebRequest.Method = "POST"; // write the form values into the request message StreamWriter requestWriter = new StreamWriter(wrWebRequest.GetRequestStream()); requestWriter.Write(strNVP); requestWriter.Close(); // Get the response. HttpWebResponse hwrWebResponse = (HttpWebResponse)wrWebRequest.GetResponse(); StreamReader responseReader = new StreamReader(wrWebRequest.GetResponse().GetResponseStream()); // and read the response string responseData = responseReader.ReadToEnd(); responseReader.Close(); return responseData; 

1) After I am redirected to the PayPal page, I can see the Payment Methods option. I want to disable the Payment Methods option.

Payment Methods

2) Or , if I click the change link, I can see the option as a bank account (eCheque) , I want to disable this option too. Below is an image. enter image description here

Any help on this.

+4
source share
2 answers

I understood. This may be helpful to others. This can be done on the merchnats counter.

Go to the profile after registering as a seller

Profile --- Payment settings ----

Block the following payments: eCheque payments on your site. NOTE. You cannot block eCheque payments on eBay.

+5
source

If you just want to disable the eCheck feature, you can set PAYMENTREQUEST_0_ALLOWEDPAYMENTMETHOD = 'InstantPaymentOnly'

+2
source

Source: https://habr.com/ru/post/1481062/


All Articles