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

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="" />
<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" />
Introduction to R
LVL 13
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

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?
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.
In my Magento 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)

Open in new window

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…
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.
I had this question after viewing PayPal IPN, PHP, & MySQL.


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
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:

<script src=""></script>
Dim price : price = "134.96"
<div id="paypal-button-container"></div>
<input type="hidden" name="price" id="price" value="<%=price%>" />
<script src="payment.js"></script>  

Open in new window

// JavaScript Document

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

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.
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:

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 = …
JavaScript Best Practices
LVL 13
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

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>"
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

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.
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="" ta="0" tp="0" tt="D" ra="0.01" rp="1" rt="Y" rr="BN" rrt="" rra="1" image="default" output="button" /]
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) {

              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!');

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


Open in new window

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
Please help asap.
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?
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.
I am implementing paypal payment into my 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.
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:


<title>SEND INVOICES</title>


<CFIF ParameterExists(ID) IS "NO"><CFSET ID=0></CFIF>
<CFIF ParameterExists(PASS) IS "NO"><CFSET PASS=0></CFIF>

<CFQUERY name="checkclose" datasource="DJS">select * from times where type='auction'</cfquery>
<CFIF #checkclose.enddate# LT #CreateODBCDateTIME(now())#>



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



Exploring ASP.NET Core: Fundamentals
LVL 13
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

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">
                <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>
                <h3>Order Total:</h3>
                <br />
                <asp:Label ID="Total" runat="server" Text='<%#: Eval("Total", "{0:C}") %>'></asp:Label>
            <ItemStyle HorizontalAlign="Left" />

Open in new window

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

Open in new window

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


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.
Hello Experts, I have to update a legacy Payflow Pro setup that iis left over from the Cybercash days and used the CFX_ONCR_CYBERCASH3 tag (does not run on 64 Bit). It is currently working on the old site with the following code:

<CFIF #form.CardType# IS "MasterCard" OR #form.CardType# IS "Visa" or #form.CardType# IS "AMEX">
    <CFLOCK name="#session.sessionID#" timeout="30">
      <CFSET cfxpid  = #GETID.ORDERID#>
      <CFSET cfxcnum = #FORM.CARDNUMBER#>
      <CFSET cfxexp  = #DateFormat(Session.ExpDate,"MM/YY")#>
      <CFX_ONCR_CYBERCASH3 name="ResultSet" ccps_host="" cybercash_id="xxxxxxxx-35" merchant_key="xxxxxxxxxxx" trans_type="mauthonly" order_id="#CFXPID#" amount="#Session.PmtAmt#" cc_number="#CFXCNUM#" cc_exp="#CFXEXP#">

      <CFSET Session.Tstatus = ResultSet.Status>
      <CFSET Session.TAuthNumber = ResultSet.AuthNumber>
      <CFSET Session.TErrorLocation = ResultSet.ErrorLocation>
      <CFSET Session.TErrorMessage = ResultSet.ErrorMessage>
      <CFSET Session.TAuxMessage = ResultSet.auxmessage>

I need to get this running using CFHTTP.

Got this from the web:  (Results in "connection error"

<cfset username = "" >
<cfset password = "Same as PayPal Mgr password">
<cfset partner = "Same as PayPal Mgr partner">
<cfset vendor = "Same as cybercash_id in code above">
<cfset amount = "1.66">
<cfset ExpirationDate = "1015">
<cfset CCnumber = "4111111111111111">

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.
Can anyone help me. I want to add a payment method via credit card and paypal to my webshop in Tanzania. But in order for it to work I need a downloadable plugin for my wordpress site.
I have contacted direct pay online but they cannot assist and others do not know what the plugin for wordpress is.
Any idea where to go from here?

Best regards
Sussie and valerie






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