an internal service error during refunding
talhaiut
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Aug-10-2018
03:14 AM
RefundRequest refreq = new RefundRequest()
{
//invoice_number = _useDoc.document,
Internal service error occurring while i was trying to refund.
This is my code snippet for refund.
-------------------------------------------
amount = new Amount()
{
currency = "EUR",
total = pays.AMOUNT
}
};
var payment = Payment.Get(apiContext, pays.PAYID);
var transactionId = payment.transactions[0].related_resources[0].sale.id;
var response = Sale.Refund(apiContext, transactionId, refreq);
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Internal Server Error 500 in SDKs
- 500 INTERNAL_SERVICE_ERROR on /v2/checkout/orders using vault_id as payment_source in REST APIs
- INTERNAL_SERVICE_ERROR when calling PATCH /v2/checkout/orders/ on Sandbox in Sandbox Environment
- SDK Internal Server Error, Sandbox, Advanced Checkout in REST APIs
- Internal Service Error 500 in Sandbox Environment