error: (500) Internal Server Error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using paypal sdk(.net) in my code. To send the data to paypal I am using PaymentCard class with following debit card information in code:
PaymentCard paycard = new PaymentCard();
Address billingAddress = new Address();
billingAddress.city = "Mohali";
billingAddress.country_code = "QAR";
billingAddress.line1 = "asfnkasf";
billingAddress.postal_code = "1212112";
billingAddress.state = "Qatar";
paycard.card_product_class = "DEBIT";
paycard.billing_address = billingAddress;
paycard.number = "*********";
paycard.type = "visa";
paycard.first_name = "CAMERON";
paycard.last_name = "BLOMFIELD";
paycard.cvv2 = "538";
paycard.expire_month = 09;
paycard.expire_year = 19;
List<FundingInstrument> fundingInstrumentList = new List<FundingInstrument>();
fundingInstrumentList.Add(fundInstrument);
payr.funding_instruments = fundingInstrumentList;
payr.payment_method = "bank";
I am getting 500 internal server error.
Please help me out. How can I test the code with debit card information.
Thanks
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- When clicking on a payment button generates error: Unexpected token ... in PayPal Payments Standard
- Error: "Unable to change shipping method. Please try again." in PayPal popup in REST APIs
- Pay Pal integration with existing site code and databases required in Sandbox Environment
- PayPal Standard Checkout Integration in PHP (500 error) in Sandbox Environment
- Payment not automatically being captured, funds not transferred in Sandbox Environment