Questions tagged [paypal]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
2answers
6k views

How to convert below cURL into Http request type

I have below cURL: curl https://api.sandbox.paypal.com/v1/oauth2/token \ -H "Accept: application/json" \ -H "Accept-Language: en_US" \ -u "<Client-Id>:<Secret>" \ -d "grant_type=...
2
votes
4answers
4k views

Paypal integration in salesforce [closed]

I want to integrate paypal in salesforce by using Rest API. Can u guys give me any of sample code(sandbox) for DODirectPayment to do that.
2
votes
1answer
2k views

Unable to resolve below error while creating a payment from salesforce to paypal using rest api

I am getting below error when i am trying to create a payment in paypal from salesforce using REST API. System.HttpResponse[Status=Internal Server Error, StatusCode=500] <ns1:XMLFault xmlns:...
2
votes
0answers
536 views

Integrating paypal payment gateway with Salesforce

I am trying to do a POC of integrating payment gateway(using PayPal) with Salesforce. I have found multiple App Exchange products. However I would like to create a do the POC with Apex Code. I am not ...
1
vote
1answer
432 views

WSDL2Apex: How to edit Paypal WSDL because of few XSD schema imports?

Please help me edit Paypal WSDL because of its XSD schema imports. I needed to run it over to WSDL2Apex of Salesforce. And with import, it would return an error: Error: Failed to parse wsdl: Found ...
1
vote
0answers
124 views

Error loading Paypal Expresscheckout javascript

I am trying to integrate paypal express checkout into my lightning community website. I included the following line in my lightning component to load the javascript <ltng:require scripts="https://...
1
vote
1answer
104 views

Resend HTTP request with exact body || Paypal IPN Notifcation Handler

I am trying to develop a salesforce IPN handler to receive Paypal payments notifications. Paypal requires replying back with same received HTTP request body. I am not able to achieve this as ...
0
votes
1answer
794 views

Parse HTTP Response

How to parse the HTTP Response if response string is in name value pair. RESULT=0&PNREF=EFHP0D426A53&RESPMSG=APPROVED&AUTHCODE=25TEST&AVSADDR=Y&AVSZIP=N&CVV2MATCH=Y
0
votes
1answer
725 views

CCAvanue Payment Gateway Integration with Salesforce Apex

CCAvenue does not provide integration kit for Salesforce Apex language. They provide Asp.net, Java, NodeJS, iOS, Android, Windows. How do we encrypt and decrypt data and make request for CCAvenue ...
0
votes
1answer
289 views

Adaptive Payment Integration with Salesforce

public class using_simple_method { public void transeferr() { String url='https://svcs.sandbox.paypal.com/AdaptivePayments/Pay'; string un=''; string pw=''; ...
0
votes
0answers
140 views

How to name number property for JSONGenerator

In the PayPal REST API, there is a credit_card object which has a property called number. Unfortunately, "number" is a reserved keyword in Apex, which means that I can't simply name my property number ...
0
votes
0answers
468 views

salesforce integration with paypal(i am getting a failure message )

Salesforce integration with paypal Done the integration of salesforce with paypal by apex class PaypalProcessor I have created a vf page containing fields of custom object paypal_payment and it calls ...
0
votes
0answers
208 views

Exception in paypal integration with salesforce

I have done paypal integration using soap request. Previously it was working fine and now am getting error like below.. "System.XmlException: ParseError at [row,col]:[7,3] Message: The element type "...
-4
votes
1answer
342 views

Salesforce to paypal integration

please advice to resolve the paypal response error the error is Invalid URL The requested URL "/2.0/", is invalid.