Questions tagged [paypal]
The paypal tag has no usage guidance.
17
questions
0
votes
0
answers
274
views
Issue with PDF file using getContentAsPDF
I am creating attachment with paypal invoice using getContent method in apex and attaching file under record but there issue with pdf file. it's not creating properly
Here is my code :
String ...
1
vote
2
answers
164
views
How do I convert this paypal date format to a valid salesforce date?
Paypal is sending dates to my Rest service in this format 09:30:12 Jan 02, 2022 PST
If I use the DateTime.valueOf() function to translate the value to a DateTime field, it fails with an invalid date/...
0
votes
1
answer
344
views
PayPal Smart Buttons used in LWC
I am looking to implement PayPal Smart Buttons to a LWC.
https://developer.paypal.com/docs/checkout/
In short, this feature requires two HTML lines in the template:
<script src="https://www....
2
votes
0
answers
667
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
1
answer
186
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
1
answer
179
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
1
answer
1k
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
1
vote
1
answer
650
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 ...
0
votes
1
answer
1k
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
1
answer
345
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='';
...
2
votes
1
answer
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:...
4
votes
2
answers
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=...
0
votes
0
answers
162
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
0
answers
584
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 ...
-4
votes
1
answer
397
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.
2
votes
4
answers
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.
0
votes
0
answers
215
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 "...