PayPal

493

Solutions

580

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

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
Learn SQL Server Core 2016
LVL 12
Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

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
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
Become a Certified Penetration Testing Engineer
LVL 12
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

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
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
CompTIA Cloud+
LVL 12
CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

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="http://cr.cybercash.com/cgi-bin/" 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>
      </CFLOCK>
</CFIF>

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">
 
<CFSET …
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
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
0

PayPal

493

Solutions

580

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!