PayPal

507

Solutions

603

Contributors

PayPal's services allow people to make financial transactions online by granting the ability to transfer funds electronically between individuals and businesses. Through PayPal, users can send or receive payments for online auctions on websites like eBay, purchase or sell goods and services, or donate money or receive donations. The company operates as an acquirer, performing payment processing for online vendors, auction sites and other commercial users, for which it charges a fee.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi everybody.
So, I have my little, wonderful e-commerce system with all its classes and everything works well. I use both Paypal and Stripe. Once the payment has been done, the user is correctly redirected to the website where he is still loogged in with all his data stored in $_SESSION: the invice is created, displayed, sent via email and made available to download.
But I have also implemented a webhook for both Paypal and Stripe and with both of them I get the same issue: in webhooks scripts the $_SESSION is empty.

I'm going to describe the structure of the system.
I have a common script shared.php included in each page and also in webhooks scripts. shared.php starts the session, use some namespace, checks if the user is logged. It initalize the cart and does some less relevant (for this question) op.
So, Paypal and Stripe redirect the user to the payment successfull page which includes the shared.php script and everything works fine: all session data are still present, the user is logged in and so on.
But in webhooks session is empty!
I placed this stupid line :
mail("myemail@gmail.com", "stripe session" , "session: <br>" . json_encode($_SESSION));

Open in new window

in following scripts (changing the subject accordingly to the script name):
- shared.php
- hookpaypal.php
- hookstripe.php
- paymentokay.php

I obviously receive several email from shared.php: from the one included in paymentokay and from the one included in the webhook.
The emails received from …
0
Exploring SQL Server 2016: Fundamentals
LVL 19
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

I am coding super basic paypal  payflow. and  I know every piece of information is correct but I keep getting alert of invalid vendor account.
I did google and I want to confirm that this is not a new  account, and  the account  is in USA so it should not  have any issue. and BIN account is  okay as well.

RESULT >> 26
PNREF >> B90K0C47FE7D
RESPMSG >> Invalid vendor account


ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
            string paypalRequest = paypalrequestformat(p);

            PayflowNETAPI payflownetapi = new PayflowNETAPI("pilot-payflowpro.paypal.com", 443);           
            string paypalresponse = payflownetapi.SubmitTransaction(paypalRequest, PayflowUtility.RequestId);
            #endregion
            string[] responseItem = paypalresponse.Split('&');
            foreach(string x in responseItem)
            {
                string[] responseItemSplit = x.Split('=');
                Response.Write(responseItemSplit[0] + " >> " + responseItemSplit[1] + "<br>");                
            }

Open in new window

0
We use paypal payflow SDK to create / generate transaction.
For example, if we want to auth/capture 500 USD but not to charge  until we validated all of the customer information.
Which payflow transaction type should be used? and I knew paypal will return transaction id after the API is called, and if I store the transaction id in the database, and later I want to increase  the charge  amount from 500 to 600. which api I  should use to generate this request?

Below is the simple workflow.
1. consumer enters their  credit card  info. on the  webpage
2. use paypal payflow sdk to generate  the  first charge e.g. 500.00. assume all info is  good, and we save transaction id from paypal.
3. our staffs will work on their own workflow to verify all other  information is correct
4. as last  step, we will recharge  the same customer for the remaining balance for example. 200.00. assume we can take paypal transaction id and perform the api charge.

We do not know what to do in step 4.
0
Long question made short: If CASH is 100% as good as CASH and if one assumes that PayPal is 90% as good as Cash, where does Bitcoin fall on a 1% to 100% scale in your opinion. The only variable to eliminate for my question is for you to assume that ALL intentions of mine, a private user, are completely honest and above board. I know virtually nothing about Bitcoin and am looking for straightforward, honest and blunt opinions of this "product". I do not want to find myself in a situation that I perhaps funded a proposed new bitcoin account with a few thousand dollars only to have someone say to me "You mean to say that you never heard that bitcoin had this or that problem or potential pitfall in the works that I had not heard of. You need not go into great depth on your answer and I request that not more than EIGHT Experts give their opinion so that I can be able to award a decent amount of points to each of the eight respondents with a decent amount of points. Thanks Experts!
0
Hi

I'm trying to create an online shop. Because of that I need a payment provider.
What would you recommend me?

I'm confused with so much providers like PayPal, Amazon Pay, Sofortüberweisung etc.
I need something safe with less fees.

Thank you in advance
0
i have directory websites with about 50+ rental owners. We basically store all of the their information in the MS SQL database included name and email.
Recently, we want to expand billing option on the website and allow potential customer to pay online e.g. john smiths(consumer) may purchase 1 day pass to access mary chan's house (rental owners).

My website works as middle man. so I hope to allow rental owner to submit their paypal email and some account infor of Paypal so I can send their information to Paypal API to complete the transaction.

My questions.

1. In my case, above plan makes senses? and Can paypal actually do that? If yes, can you drop me some good information.
2. Except Paypal, do you see any other vendors can do the same thing?

Thanks
0
Hello, I am adding a donation page to a WordPress website I am working on. I want the visitors to be able to go to this page and have a few options such as $25, $50, $100 buttons and a field to input the amount they desire to donate if they prefer more or less. My question is I prefer to keep the person within the webpage and not taking away to a portal to make the donation. I was thinking pay pal but wanted to get some feedback from you guys before I just go with Paypal. Are there any services / add ons that you prefer when incorporating something like this into WordPress?
0
i have subscription website that I want to auto debt our customer e.g. $5.00 per month and make the charge on every 1th of the month.
can paypal or other provider can do it? if yes, can you please show me their api how it works in c#? thanks
0
One of my developers told me that Paypal will provide authorization code and work within 1 year if I provide valid Credit Card information.
Just assume I have web form and I enter all of the credit card information, and when a button is clicked, api will be called for validation and if it is passed that an string authorization code by paypal will be provided, and It will store into our database.

For example, 3 days later, we take this authorization code, and put amount of 100.00 USD. I can make the charge successfully.

Anyone has experience and this? I feel like this is very insecure and impossible.
0
I'm building a Shopping Cart for a client and I'm at that point where the order has been tallied with taxes and shipping. I've got a total, I've got the client's email address and I'm ready to forward this all to Paypal but I'm stuck.

First off, the buttons that you can create from Paypal's free interface seem to limit your dollar amount to something that's fixed. That's not going to work because the total amount being charged in the Cart is going to vary based on what the customer has ordered.

Secondly, the "success" page, for my design, has to have the session variable embedded within the URL. That's how I'm documenting the fact that the order has been successfully paid for.

And finally, I want the screen that the customer gets to have the name of my client's business. Right now, they're getting this:

paypal screen
That's more aesthetic than it is anything else, but I've worked some with Paypal's dev tools and it seems like that's a possibility.

This is where I'm at right now...

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-encrypted code from Paypal's tools that represent a button created as part of my client's account. ">
<input type="hidden" name="amount_x" value="1.00"> <!-- my attempt to dictate the dollar amount being charged. It's not working -->
<input type="hidden" name="return" 

Open in new window

0
Amazon Web Services
LVL 19
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

I am amazed I have to ask this question. I have a paypal account, I want to deposit some money into PayPal, then use it to pay someone.

I’ve tried everything I can think of, cannot see how to do this.

Seems to me should be obvious.

Can someone help?

Thanks
0
When I click on "Make Payment" button then only ajax run but paypal sandbox not works.
There should be 1st paypal will open and then email send after registration.

Paypal_url = https://www.sandbox.paypal.com/cgi-bin/webscr.
ajax id = registerform.

HTML Code:
.
.
.
<form method="POST" class="dzForm paypal form-inline" action="https://www.sandbox.paypal.com/cgi-bin/webscr" name="registerform" id="registerform">
.
.
.
<input class="btn btn-medium btn-transparent-orange" type="submit" name="insert" value="Make Payment">

Open in new window

.
.
.
AJAX Code:
$("#registerform").submit(function(e) {
			e.preventDefault();
			$("#msg").html("");
			var name = $("#name").val();
			$("#submitbtn").prop('disabled', true);
			$.ajax({
				type: "POST",
				data: $("#registerform").serialize(),
				url: "php/register.php",
				cache: false,
				beforeSend: function (){
						$("#submitbtn").val('Sending..Please wait');
				},
				success: function (response) {
						if(response==1){
							$("#msg").html("Thank you "+name+" ! You have been registered successfully.");
							$("#submitbtn").prop('disabled', false);
							$("#submitbtn").val('Register Now');
							$("#registerform").trigger('reset')
						} else{
							$("#msg").html("<span style='color:red'>"+response+"</span>");
							$("#submitbtn").prop('disabled', false);
							$("#submitbtn").val('Register Now');
							$("#registerform").trigger('reset')
						}
				}
			});
			return false;
		});

Open in new window

0
Hi Experts. I need  code examples for paypals DoCapture  API.  Asp.net c# or vb. I tried to use the links on github to see the examples there but they are blocked by the company I am contracting for.

Specifically this is what I need: The request and response examples


Thanks
Bill
0
Hello, I have a customer that we just found out that the domain has expired on 7/7/18 with safenames.com so I log into and see the domain has expired. The website and email that is hosted with google is down.... I was going to make a payement for them for 66 bucks for 2 years but safenames is requesting
Payment method:      
Cashpot    PayPal
Your name:      
Your email:                                                         e.g. yourname@yourdomain.com
                                                   
Your phone:                                                      e.g. +44.1908200022      

Purchase Number:      
Subtotal:
$66.86
VAT:
$0.00
Total:      $66.86
Renew:      1

My questions is wow not easy to make this payment I was going to use my company credit card but ..... any suggestions on why and what's going on.... I have had domains expired for over a month and things keep working ... Should I just setup a paypay account to pay this ... also safenames don't have a phone # to call
0
I need help -

From PayPal -
Merchants and partners use HTTPS to securely connect with PayPal’s servers. We use the Transport Layer Security (TLS) protocol to encrypt these communications. To ensure the security of our systems and adhere to industry best practices, PayPal is updating its services to require TLS 1.2 for all HTTPS connections. At this time, PayPal will also require HTTP/1.1 for all connections.


I can't get this to work on my Azure VM.
0
Current version of Wordpress and current version of WooCommerce.
At some point, our sub plugin was disabled and subs kept working on paypal.
Eventually, some have now become out of sync.
Is there some way of syncing WooCommerce subscriptions back up with Paypal?
0
Having problem getting my VB.NET web site to use PayPal TLS 1.2.   I am using the PayFloPro API and setting a KEY value to the endpoint URL.  I am running Framework 4.5.1 & working in Visual Studio 2015. This line is in the code: ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12

PayPal lists several endpoints for testing.  "These endpoints allow only TLS 1.2 and HTTP/1.1 connections:" = pilot-payflowpro.paypal.com
When I use this it connects fine.

Then PayPal has another paragraph that says "PayPal has created a new endpoint - https://tlstest.paypal.com - to help you verify that your systems can support the latest security standards".  When I use this it fails with message "RESPMSG = Unexpected transaction state, PayPal_Connection_OK".  Transaction does not go through.

Any idea what is going on here?      Thanks in advance.
0
Problems with the Etsy Platform, recently...

I have a friend who was doing well for years on Etsy, selling crafts and keeping busy, with a work backlog that was quite dependable. But then it shut off, like a light-switch.

And others I know who depend on Etsy also seem to have the volume of business shot off.

Is this a known problem?

Was there, perhaps, a software change that caused a problem that can be rectified?

Please give me as much information as you have to help me see if there is anything that can be done.


Thanks!
0
We are collecting dues for a family reunion. Adult "dues" ( let's call them tickets to make it easier ) are $100, kids are $75.

I have a simple form that asks the family name, how many adult tickets, how many kid tickets.

Can someone show me how to send this information to PayPal for processing, please?

Our site is on a PHP server, so a PHP sample would be great, or Javascript.

Thank you
0
Bootstrap 4: Exploring New Features
LVL 19
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

How to check whether my Magento  CE 1.9.3.3 is already compliant in regards to PayPal security changes on the following?
  • IPN Verification Postback to HTTPS
  • Discontinue Use of GET Method for Classic NVP/SOAP APIs

If it is not compliant, what should I change to continue using PayPal?

Here is the PayPal link:
https://www.paypal.com/hk/webapps/mpp/merchant-security-roadmap?locale.x=en_HK
0
In Magento checkout page, a customer try to checkout, after clicked the Continue button at Payment information and seeing this error:
"PayPal Gateway has rejected request. Payment has already been made for this InvoiceID (#10412 Duplicated invoice)."

Why this would happen and how to fix this?
0
In Magento CE 1.9, which are the tables that payment configuration and PayPal configuration?
0
Quickly getting sales for my in-person tours of Boston

I have a tour planned to provide an in-person view of some shocking discoveries I have revealed in my book. And I need to find quick ways to sell tickets.

Topics are very juicy... 9/11 and Boston architecture which heralded in the attacks, BEFORE 2001.

I would consider old-fashioned methods, like having someone hand out brochures in busy places. Advertising in publications, but that takes time to get established.


But I suspect the high-tech options are more scalable and cheaper.

I MAY use EventBrite to sell tickets since I want people to be able to buy tickets on their mobile devices, and really do not want ti reprograms my WordPress site, just to have a sub-optimal solution.

I will eventually need a FaceBook page, to help spread referrals. But I would consider prioritizing that Facebook page if that were to be the prime way to promote the tours.

What kinds of things should I consider when making my decision about how to promote and manage my tours?

Thanks
0
PayPal and/or Square?

I have a merchant PayPal account and a PayPal card swiper. And I am about to start offering in-person tours where I want to accept cash-less payments.

I need to accept as many payment methods as possible, and hopefully turn away no one.

Can I use PayPal to process credit cards without requiring someone to log onto their PayPal account?

Does PayPal accept AMEX and Discover?

If I purchased the EMV Chip Reader from PayPal, is there any reason to use SQUARE?

On a second note...

Does SQUARE offer a lower discount rate than PayPal?

I would consider using both PayPal and SQUARE if they have complementing services.

Thanks
0
In Ms Access I am trying to make a API call to Paypal to try them out. But no matter what I get a Error "0". Does anyone have any idea what the problem is. I have put my code below.

Option Compare Database
Option Explicit
Public Function PayPalGetTransactionDetails()

'On Error GoTo Errorhandler

    Dim Http As New msxml2.XMLHTTP60
    Dim Doc As New msxml2.DOMDocument
    
    
    Dim fp1 As String
    Dim fp2 As String
    Dim XmlString As String
    Dim UrlPath As String
    Dim TransactionIdValue As String
    Dim APICALL As String
    Dim UserNameValue As String
    Dim PassWordValue As String
    Dim SignatureValue As String
    Dim SubjectValue As String
    
    
    UserNameValue = "MyUserName_api5.gmail.com" 'API Paypal User Name
    PassWordValue = "MyPassowrd" 'API Paypal Password
    SignatureValue = "MySigvalue" 'Supplied by Paypal.
    APICALL = "GetTransactionDetails"
    SubjectValue = "Dgstgsgsh@gmail.com"
    fp1 = "C:\Database\ExportedOrders\PaypalApiTestRequests\"
    fp2 = "C:\Database\ExportedOrders\PaypalApiTestResponses\"
    UrlPath = "https://api-3t.paypal.com/2.0/"
    TransactionIdValue = "57547564e67744757"
    
    
    Http.Open "POST", UrlPath, False
'    Http.setRequestHeader "CONTENT-TYPE", "text/html"
'    Http.setRequestHeader "Username", UserNameValue
'    Http.setRequestHeader "Password", PassWordValue
'    Http.setRequestHeader "Signature", SignatureValue

    
    XmlString = "<?xml version=""1.0"" encoding=""UTF-8""?>" & 

Open in new window

0

PayPal

507

Solutions

603

Contributors

PayPal's services allow people to make financial transactions online by granting the ability to transfer funds electronically between individuals and businesses. Through PayPal, users can send or receive payments for online auctions on websites like eBay, purchase or sell goods and services, or donate money or receive donations. The company operates as an acquirer, performing payment processing for online vendors, auction sites and other commercial users, for which it charges a fee.

Top Experts In
PayPal
<
Monthly
>

No Top Experts for this time period. Answer questions to earn the title!