PayPal

507

Solutions

601

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

We have a magento 2 website on digital ocean cloud servers.  We reset the droplet root password and after that several things broke, such as the category pages would not show anymore, the search stopped working and all the payment systems give errors.  A developer fixed the category pages, but several errors remain.

This site is live and losing orders, so would love to figure this out soon, thanks in advance for your help.


Why would updating the root password on a droplet break parts of the website?

Also, it seems anything related to an API stopped working, such as Stripe, PayPal, shipping and some graphs in the admin that show how much was made, the one on the Magento 2 dashboard.

The site is set up with Magento 2.2.8 and is also using cloudflare.  

Things we have already considered:

Cloudflare caused the error and is still blocking the API calls?  But if this is the case why?

Our developer has left us and we need help figuring this out if anyone has any idea or similar experience as this please let me know.

Here is the stripe error as an example.

stripe-error.png
Thanks
0
Expert Spotlight: Joe Anderson (DatabaseMX)
LVL 13
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

We have a page on our website that offers products for sale.  Some of the products are linked to an outside website to purchase and some have a PayPal "Add to Cart" button.  The first item (Thrip Cloth) on the page was the last one added to the page and when you click on the "Add to Cart" button the browser says it is waiting for the main website page and eventually, it times out with a "Gateway timeout" error and never gets added to the cart.
There are 7 of these buttons on the page, all the other 6 buttons work fine.  If I take out any of the other buttons and try the first item on the page (Thrip Cloth) after that, then it works beautifully.  My conclusion is that we are limited to 6 buttons on the page.  PayPal says there is no limit.  They suggested calling our hosting company; they said there is no limit imposed by them and it is out of their scope.  
This is a Linux site using PHP.
The site is http://crcweb.org/books.php - this file has 7 buttons on it.
The site page that works is http://crcweb.org/books%202019-09-10D.php
Does anyone have any ideas on what else I can look at to troubleshoot this issue?
Any help would be most appreciated!
Jan
books.php
0
Hi All,

I'm a very rusty programmer who has opportunity to get nice business but need to get in shape pretty quickly.

I was programming like 8 years ago, mainly in C# Windows Forms and was pretty good at it. I still remember it.

Today I'm about to create cloud application where I need:
- nice web front end. Interactive application, wizard
- frontend will send files for remote computing on my server (my PC with C# application, Windows for sure, no Linux absolutely)
- server will compute and generate .pdf (how to generate pdf...?)
- pdf accessible in frontend for download and sent via email
- frontend will ask for payment before computing. Subscription plans 24h access, 6 months, 12 months

More or less I think its good description.

I need to choose technology I will use which is easiest for me to adapt.
ASP.NET or HTML5 or what is at the moment most desirable?
I wish to program in Visual Studio Pro.
I hope I don't need to learn anything more than I need for this project.

Please advise!

Many Thanks!
Marcin
0
I am trying to pass a variable in a WordPress form to Paypay.  Even though I can display the variable on the screen, I can not get it to pass over to PayPal via the script.  If I put in a constant, I have no problem.  Is there a way to pass my variable {Total:13} into PayPal. Or set it to a variable that I can pass.

Below is the script that works with a constant in the amount line.  How can I change the "34.00" to the variable {Total:13}?

<input name="business" type="hidden" value="XXXXX@XXXXXX.com" />
<input name="currency_code" type="hidden" value="USD" />
<input name="item_name" type="hidden" value="/" />
<input name="amount" type="hidden" value="34.00" />
<input name="rm" type="hidden" value="2" />
0
I am thinking about offering a paid service on my guest wifi router. Considering no one around me has internet aside from their phone which has 1 bar and it isn't 4G, I think this may be a smart idea. I know how to set up a log in self service screen using Ubiquiti hardware, however I am on a budget. My starter gear is a nighthawk AC 1900 router OR a DDWRT Linksys router.

Are their any tutorials out there on how to set up a self-service access that directs the user to a paypal or square page to pay for a set amount of time? Once I get some flow of money, I can gradually upgrade the hardware.

Anyone have any suggestions?

IF I  need to, I also have a desktop I can install a service on, once the device is connected to the wifi hotspot and it can redirect to a pay for website. I just don't know what to look for.
0
In my Magento 1.9.3.3 community, there were some customers trying to make payment by PayPal but seeing the error "There was an error processing your order. Please contact us or try again later". In exception log found the following:
exception 'Exception' with message 'PayPal response hasn't required fields.' in C:\Web\mystore\app\code\core\Mage\Paypal\Model\Api\Nvp.php:996
Stack trace:
C:\Web\mystore\app\code\core\Mage\Paypal\Model\Api\Nvp.php(644): Mage_Paypal_Model_Api_Nvp->call('DoExpressChecko...', Array)
C:\Web\mystore\app\code\core\Mage\Paypal\Model\Express.php(581): Mage_Paypal_Model_Api_Nvp->callDoExpressCheckoutPayment()
C:\Web\mystore\app\code\core\Mage\Paypal\Model\Express.php(377): Mage_Paypal_Model_Express->_placeOrder(Object(Mage_Sales_Model_Order_Payment), '987')
C:\Web\mystore\app\code\core\Mage\Sales\Model\Order\Payment.php(443): Mage_Paypal_Model_Express->capture(Object(Mage_Sales_Model_Order_Payment), '987')
C:\Web\mystore\app\code\core\Mage\Sales\Model\Order\Invoice.php(395): Mage_Sales_Model_Order_Payment->capture(Object(Mage_Sales_Model_Order_Invoice))
C:\Web\mystore\app\code\core\Mage\Sales\Model\Order\Payment.php(608): Mage_Sales_Model_Order_Invoice->capture()
C:\Web\mystore\app\code\core\Mage\Sales\Model\Order\Payment.php(410): Mage_Sales_Model_Order_Payment->_invoice()
C:\Web\mystore\app\code\core\Mage\Sales\Model\Order\Payment.php(348): Mage_Sales_Model_Order_Payment->capture(NULL)
C:\Web\mystore\app\code\core\Mage\Sales\Model\Order.php(896):

Open in new window

0
I develop a desktop windows application.  I'd like to add the ability to use PayPal to bill for my product on a subscription basis.  This means, my product (running on a windows machine on somebody's desk) needs a way ( once a month or so ) to ask "did the user pay?" -- so it knows if it should keep working.    In a related feature, I'd also like the user of my product to be able to purchase an add-on option module or make some other one-time payment using the Paypal system.  In this case, I suppose they'd click a button in my app, and I would pop up the browser to bring them to Paypal's web page where they can transact with Paypal.   But then, my desktop windows application needs to find out "did the user complete the payment?" so it can know whether to enable the feature or not.

When I look at Paypal's developer web-site, I understandably see all kinds of support for mobile apps, or for web-sites.  Its not clear how a desktop application can use the PayPal system.   Will it require that I develop and support some code running on a server somewhere?   Or can PayPal provide me everything that is needed and make it easy on me to do the things I describe above?   Or, the "middle way", do I have to find a company or consultant that helps people connect a desktop App into Paypal's world?   I want to work on my desktop product -- I don't want to figure out webpages and web server programming.  How best to reach my goal in an easy and expedient way?  I can't be the first person…
0
We have content offers (pdfs, mp4s, links to web documents, etc.) that we want to make available on our website in exchange for users' contact information (email address) and, in SOME cases, in exchange for payment (i.e. linked to paypal). We were using a combination of Contact Form 7/Email Before Download/Download Monitor plugins but for some reason that no one can seem to explain, this approach no longer works. Countless hours and several Upwork freelancers are have led us nowhere. Any advice would be GREATLY appreciated.
0
I had this question after viewing PayPal IPN, PHP, & MySQL.

Hi,

I am selling CDs (and other stuff) mainly via eBay but also in other outlets (BigCommerce shop) and I want to do that following to automate this:
1. Collect payment notifications via Paypal IPN message using an IPN Listener Script and verify the payment - this bit has been tested as ok
2. Add CD/DVD sales information to a MySQL Database - I've created the database and attempted to add some lines to index.php to create entries
3. Transpose (parse) the resulting table information so that this can then be sent to Kunaki to ship the discs - I have found and partially updated a php file for this that does connect with Kunaki
4. As Kunaki is somewhat slow to send to anywhere but the USA, I wish to provide a link to a download for the software contained on the discs, immediately, so the buyer has instant access (currently, I've been doing this bit manually as I have access to the files on my home Synology NAS drive and have been sharing the links via email - I am eager to automate this somehow)
5. If I could also update the sale by providing a USPS tracking number that Kunaki provide, to the customer somehow, that would be great
6. Also, if I could update eBay or Paypal to state that the item has been sent, that would also be ideal.

So far, I have 3 files:

ipnlistener.php - to interface with the Paypal IPN
0
I have a PayPal buy it now client side REST on my website. Payment process is working fine on my end, but the customer, after he pays, doesn't see the payment confirmation screen. I've read on PayPal Dev that I must show a confirmation without redirecting, which is something that I am doing now.


You must show a confirmation without redirecting the page. If you redirect the page, the actions.payment.execute() and actions.payment.get() functions are not available.

This is the code I am using:

payment.asp
<script src="https://www.paypalobjects.com/api/checkout.js"></script>
</head>
<%
Dim price : price = "134.96"
%>
<body>
<div id="paypal-button-container"></div>
</body>
<input type="hidden" name="price" id="price" value="<%=price%>" />
<script src="payment.js"></script>  

Open in new window


payment.js
// JavaScript Document
paypal.Button.render({

env: 'sandbox', // sandbox | production

        style: {
        label: 'checkout',
        size:  'medium',    // small | medium | large | responsive
        shape: 'pill',     // pill | rect
        color: 'silver'      // gold | blue | silver | black
        },

        client: {
            sandbox:    'aaaaaaaaa',
            production: '<insert production client id>'
        },

        // Show the buyer a 'Pay Now' button in the checkout flow
        commit: true,

        // payment() is called when the button is clicked
        payment: function(data, actions) {

            

Open in new window

0
Exploring SharePoint 2016
LVL 13
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

I have successfully implemented PayPal payment gateway integration into my Laravel e-commerce web application.  However I am still trying to find out if suppose the following scenario happens then how does the recovery take place.

1) The E-commerce app sends details to PayPal
2) The E-Commerce app +/ hosting encounters a problem
3) PayPal send a response to the E-commerce app
     * next course of action is for the E-commerce app to process the response and update the order status. (i.e. Pending to Paid)

However since the app +/ hosting is down then how do we identify which order encountered a problem at that point of time and recover the order status. Is there a PayPal api that help to achieve this?

Your help is kindly appreciated.

Thank You.
0
When I check in my website using Paypal it gives me this message: "Checkout Error - Amount total mismatch" I used Microsoft tutorial to implement PayPal:

https://docs.microsoft.com/en-us/aspnet/web-forms/overview/getting-started/getting-started-with-aspnet-45-web-forms/checkout-and-payment-with-paypal

I did exactly what it said I even did twice but somehow keep getting this error Appreciate your help Thanks

public partial class CheckoutReview : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { NVPAPICaller payPalCaller = new NVPAPICaller();

            string retMsg = "";
            string token = "";
            string PayerID = "";
            NVPCodec decoder = new NVPCodec();
            token = Session["token"].ToString();

            bool ret = payPalCaller.GetCheckoutDetails(token, ref PayerID, ref decoder, ref retMsg);
            if (ret)
            {
                Session["payerId"] = PayerID;

                var myOrder = new Order();
                myOrder.OrderDate = Convert.ToDateTime(decoder["TIMESTAMP"].ToString());
                myOrder.Username = User.Identity.Name;
                myOrder.FirstName = decoder["FIRSTNAME"].ToString();
                myOrder.LastName = decoder["LASTNAME"].ToString();
                myOrder.Address = decoder["SHIPTOSTREET"].ToString();
                myOrder.City = decoder["SHIPTOCITY"].ToString();
                myOrder.State = …
0
Using the PayPal sandbox environment, I am able to successful send an item for purchase to PayPal. PayPal displays the purchase screen with the correct information. I click the ‘Pay Now’ button and the transaction completes. The successful transaction shows in both the buyer and seller accounts.

PayPal returns to the specified url and has the PaymentID, Token, and PayerID.

The problem is there is nothing in the Response.Form. I search thru the items and there are no items. An objHTTP.Send returns INVALID from PayPal.
Using Telerik Fiddler, there is nothing being returned…other than the url items.

Below is the code I am using.

Thank you in advance for your assistance.

<%
Dim Item_name, Item_number, Payment_status, Payment_amount
Dim Txn_id, Receiver_email, Payer_email
Dim objHttp, str

Response.Write "PaymentID=" & Request.QueryString("PaymentID") & "*<BR>"
Response.Write "Token=" & Request.QueryString("Token") & "*<BR>"
Response.Write "PayerID=" & Request.QueryString("PayerID") & "*<BR>"

Response.Write "<table><tr><td>Name</td><td>Value</td></tr>"
For Each Item In Request.Form
    Response.Write "<tr><td>" & item & "</td><td>" & Request.Form(item) & "</td></tr>"
Next
Response.Write "</table>"
 
' read post from PayPal system and add 'cmd'
str = Request.Form & "&cmd=_notify-validate"

Response.Write "str: " & str & "*<BR>"
 
' post back to PayPal system to validate
' Note: either of these work
' SET objHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP")

Open in new window

0
I'm using PayPal SDK to create instant payment.

The code is below

PayPal.Api.Payment createdPayment = PreparePaymentModel(returnUrl, 
    model.CancelUrl, model.PaymentDetails, model.PaymentMethod, 
    model.PaymentIntent, model.CreditCardId);

    // Create a payment using a APIContext
    createdPayment = createdPayment.Create(apiContext);

Open in new window

Getting HttpException sometimes with PayPal_debug_id.
0
I am trying to get a site setup which uses s2member.  It is a wordpress site.  i am getting the below error after a payment is made through paypal.  After a payment is made it is supposed to redirect the user back to the site to register after they have paid for their membership.

ERROR: Unable to verify $_SERVER["HTTP_HOST"].
Please contact Support for assistance.

If you are the site owner, please check the custom value in your Button Code. It MUST start with your domain name.


Below is the button code i am using:
[s2Member-PayPal-Button level="2" ccaps="" desc="1 Year membership  / $0.01 one time charge" ps="xxxx" lc="" cc="USD" dg="0" ns="1" custom="www.thesitename.org" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="Y" rr="BN" rrt="" rra="1" image="default" output="button" /]
0
We calculate taxes based on shipping zip code. We get the shipping details of the payer after they authorize payment in the paypal window. I am trying to figure out how to update the payment after we calculate new total after getting the zip code to determine taxes. When I check the payment after execute, seems to not have received the update. Here is what I have:


payment: function(data, actions) {
              createPaymentRequestLineItems();
              calculateTotalToCharge();

              return actions.payment.create({
                payment: {
                  transactions: [
                    {
                      item_list: {
                        items: payment_request_line_items_paypal
                      },
                      amount: {
                        total: payment_request_total_paypal,
                        currency: 'USD',
                        details: {
                          subtotal: payment_request_total_paypal - total_tax - total_shipping,
                          tax: total_tax,
                          shipping: total_shipping
                        }
                      }
                    }
                  ]
                }
              });
            },

            onAuthorize: function(data, actions) {
              window.alert('Payment authorized!');
              console.log(data);

              var payment_id = data.paymentID;
              var payer_id = data.payerID;

              

Open in new window

0
I can not find equivalent vb code of c# for specific section of paypal payment.
I am working with paypal billing plan and agreement.
Redirect code in c# is
this.flow.RecordRedirectUrl("Redirect to PayPal to approve billing agreement...", link.href);

Open in new window

but can not find its equivalent in vb.net.
Please help asap.
0
I'm developing a game on html5 with WebGl and I want to integrate PayPal service for digital goods in the game (coins, credits, boosters etc..). All examples that I have found in documentation regarding Express Checkout was connected with PayPal checkout.js lib that substitute a div for IFrame with PayPal button. I don't have ability to put such kind of button on my page because I draw everything on Canvas. I need ability to create dynamic requests and be notified when purchase transaction is done. So, is there a way to use PayPal on the client-side without standard IFrame solution?
0
I am working with paypal payment. I want to implement payment condition below:-

Block payment amount on card at the time of reservation. If card cannot be blocked reject the event and add "Payment Declined" to the end of the description. Take payment at 12:01 am the day of the event.

For recurring events...
Block payment for first event at time of reservation. Take payment 12:01 am the day of the event.
For next event in the recurrence series, Block payment after the previous payment is taken and take payment at 12:01 am the day of the event. Continue this cycle until all reservations are complete.
 If card cannot be blocked reject the event and add "Payment Declined" to the end of the description but continue with the series of events.

Please know me how to implement.
0
Rowby Goren Makes an Impact on Screen and Online
LVL 13
Rowby Goren Makes an Impact on Screen and Online

Learn about longtime user Rowby Goren and his great contributions to the site. We explore his method for posing questions that are likely to yield a solution, and take a look at how his career transformed from a Hollywood writer to a website entrepreneur.

I am implementing paypal payment into my vb.net project using javascript payment system.

I want to schedule payment. For example- I want to enable user to schedule payment in future.

How can i do this?

Please suggest.
0
The following script is producing invoices.  It was working fine in 4.5, but my server has upgraded to CF 7.0.  The first invoice is produced, and then I encounter the error,  I have removed all addresses from the database except for the 20 or so valid ones from people who bid in the auction.  I am not a CF expert, and I am freaking out a little bit.

Here is the code:

<html>

<head>
<title>SEND INVOICES</title>
</head>

<body BGCOLOR="#FFFFFF">

<CFIF ParameterExists(ID) IS "NO"><CFSET ID=0></CFIF>
<CFIF ParameterExists(PASS) IS "NO"><CFSET PASS=0></CFIF>
<CFQUERY name="validate" DATASOURCE="DJS">SELECT * FROM ADMIN WHERE ID='#ID#' AND PASS='#PASS#'</CFQUERY>
<CFIF VALIDATE.RECORDCOUNT is 0><CFLOCATION URL="ERROR.CFM?ERROR=2"></CFIF>

<CFQUERY name="checkclose" datasource="DJS">select * from times where type='auction'</cfquery>
<CFIF #checkclose.enddate# LT #CreateODBCDateTIME(now())#>
<CFQUERY NAME="AUCTIONINFO" DATASOURCE="DJS" MAXROWS="1">SELECT * FROM TIMES</CFQUERY>

<CFQUERY NAME="lots" DATASOURCE="DJS">SELECT * FROM lots ORDER BY lot ASC</CFQUERY>

<CFLOOP QUERY="lots">

<CFQUERY name="highbidder" datasource="DJS" maxrows="1">SELECT * FROM bids WHERE lot = #lot# ORDER BY bid DESC</CFQUERY>

<CFIF HIGHBIDDER.RECORDCOUNT IS NOT 0>

<CFQUERY NAME="HBI" DATASOURCE="DJS" MAXROWS="1">SELECT * FROM MEMBERS WHERE MEMBERID='#HIGHBIDDER.MEMBERID#'</CFQUERY>

<CFQUERY NAME="CHECKTABLE" DATASOURCE="DJS" MAXROWS="1">SELECT * FROM WINTABLE WHERE …
0
After purchasing, the address / amount wont show !!

what I did for the aspx codes
<asp:DetailsView ID="ShipInfo" runat="server" AutoGenerateRows="False" GridLines="None" CellPadding="10" BorderStyle="None" CommandRowStyle-BorderStyle="None">
        <Fields>
        <asp:TemplateField>
            <ItemTemplate>
                <h3>Shipping Address:</h3>
                <br />
                <asp:Label ID="FirstName" runat="server" Text='<%#: Eval("FirstName") %>'></asp:Label>  
                <asp:Label ID="LastName" runat="server" Text='<%#: Eval("LastName") %>'></asp:Label>
                <br />
                <asp:Label ID="Address" runat="server" Text='<%#: Eval("Address") %>'></asp:Label>
                <br />
                <asp:Label ID="City" runat="server" Text='<%#: Eval("City") %>'></asp:Label>
                <asp:Label ID="State" runat="server" Text='<%#: Eval("State") %>'></asp:Label>
                <asp:Label ID="PostalCode" runat="server" Text='<%#: Eval("PostalCode") %>'></asp:Label>
                <p></p>
                <h3>Order Total:</h3>
                <br />
                <asp:Label ID="Total" runat="server" Text='<%#: Eval("Total", "{0:C}") %>'></asp:Label>
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Left" />
        </asp:TemplateField>
          </Fields>
    </asp:DetailsView>

Open in new window

And code behind !!
  protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        

Open in new window

0
I have a php file to do some calculations and I want to pass the result to a paypal button (amount)  I have tried by several ways with no result.  I keep getting amount error

I am attaching the htm and php files

I want to be able to send the amount via paypal button

Tnx
testhtm.htm
calc.php
0
Hi,

I'm building a basic marketplace at the moment, however there are 3 parties involved in every product / sale.

When a customer purchases a product, let's say for $100 I need to split the $100 three ways on the fly:

- party 1: 70%
- party 2: 20%
- party 3: 10%

I was hoping to use Stripe so that each party could connect to the platform using Stripe Connect but Stripe have said that they do not allow payments to be split like this unless the platform owner is keeping the majority of the funds. I do not want to handle any of the payments... I want them split on the fly.

Can anyone recommend a payment processor that will support this? Thank you in advance for your help.
0
Hi,

Can anyone recommend class booking software, that has:

A - book class and pay

B - book class and provide a link at the end that i can link to PayPal

I see several Wordpress plugins but they have mixed ratings.

Can anyone recommend a booking software that they have used before? Thanks in advance for your help.
0

PayPal

507

Solutions

601

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!