I want to change the paypal transaction type from product/services to gift or something else. But did not find how to do that.
I am using the form method(most basic). Which of the setting do i need to do this , or the hidden parameter which should be passed in the input field for changing the transaction type.
I Think you are referring to the cmd variable for your form.
For ex. if you want to use a simple buy now button you can use _xclick value for cmd variable.
Check this out: List of PayPal HTML variables
PayPal's Website Payments Standard is designed to support merchants collecting payments in exchange for goods or services. While there is a specialization of the flow for donations (see e.g. https://developer.paypal.com/docs/classic/paypal-payments-standard/ht_pps-donateButton/), WPS does not provide access to PayPal's (no-fee) peer-to-peer payments functionality (such as for sending gifts, payments for splitting bills, etc).
Related
Is there a a paypal integration where the customer view's their cart and can click checkout and pay with paypal without filling out the shipping fields.
I want the quickest and slickest possible checkout without the customer filling out any fields what so ever and then requesting it from paypal using the API.
I was looking at the express checkout but it seems to need a shipping fields on our side.
There is so many paypal integration types and documentation that my head is starting to spin.
PayPal's One Touch is enabled on buyer's end, but something tells me you'd like the philosophy behind it :)
As far as integration is concerned, limit the fields using variables like no_note and no_shipping.
If you think cart, you may like this:
https://www.paypal.com/cgi-bin/webscr?cmd=_cart&add=1¤cy_code=USD&amount=1&item_name=item&business=youremail#here.com&no_shipping=1&no_note=1
Replace youremail#here.com with your email.
Variable reference [ here ].
Is it possible to display information in the comment1 and comment2 fields of the paypal admin interface using paypal payments standard ?
Could not find which variable to use ?
It sounds like you must be referring to the PayPal Manager (manager.paypal.com). The PayFlow Gateway API is where those comment parameters come into play, and Payments Standard does not utilize this API, so unfortunately that won't work.
Payments Standard does provide a single field called "custom" that you can use to pass your own data.
You may also want to look into Express Checkout with the PayFlow gateway and then you can probably include the comment fields, but I haven't specifically reviewed that documentation or tested it, so I can't say 100% for sure if that would work.
Is it possible to collect user billing detail after successful payment how?
You can collect any information you want at any time, but you might be slightly limited based on PayPal features you're using.
For example, if you're using a standard payment button you could setup a form for them to fill out on your return page after they've completed. There is no guarantee they'll even make it to this page, though, and even if they do they may choose not to fill out your form. As such, it's generally recommended to collect any necessary data prior to sending the user over to PayPal for payment.
That said, one of the benefits of using PayPal for buyers is that they don't have to fill in forms and don't have to share billing information with you, so you might actually lose sales if you do that.
PayPal will send you an address via IPN (or GetExpressCheckoutDetails, for example) but they only consider that a shipping address. If I'm working with a system that requires both a billing and a shipping I usually just use that same address for both.
I'm trying to using paypal as payment for my site.
My site only sell a virtual currency, like "Diamond" in Online game.
So after reading i starting to use Express Checkout for Digital Goods, Is that right ? or i must other payment method ?
Then my question is when using Express Checkout for Digital Goods, how to pass custom variable ?
Let say i want to pay user_id, diamond_id, and some other variable from my database to the paypal api. It seem like paypal don't support custom variable to pass on the api call. I want after user complete the payment, then Paypal notify my server that the payment is complete by user_id and some other variable that i pass, so easy for me to know the detail.
after searching i find some solution,
First solution is to store "TOKEN"(Generated from "SetExpressCheckout" Method) and my custom variable which is belong to the TOKEN in the database, Then after payment complete paypal will notify my server the same TOKEN saved before. So i will query based on the TOKEN.
Second Solution is using get style in RETURNURL variable http://www.mysite.com/successpayment.php?user_id=13&diamond_id=88 So i will easy to grab the GET variable.
Which solution is right ? Is there any solution ? and how to secure the payment confirmation, i mean if someone know and hack my returnurl.
Thanks in advance
There are two parts to be able to successfully identify your order in the whole process:
To identify your order when the user is redirected back via the success or cancel URL, just pass the order id via the query string of the URL.
To identify your order when Paypal sends notifications about the transaction and associated events (refunds, reversals, disputes etc.) via IPN: Paypal does support a pass-through variable, which allows you to associate IPNs to the order record in your DB.
For express checkout you set PAYMENTREQUEST_0_INVNUM in the SetExpressCheckout call
In case you are creating a recurring profile, the parameter is named PROFILEREFERENCE in the CreateRecurringPaymentsProfile call
When you receive an IPN the invoice is passed as 'invoice' or 'rp_invoice_id' respectively
(My general advice, though: use Paypal only if you really have to)
I've been reading up about paypal express and I'm trying to work out if I could add an extra field to collect the agent code. It's just something simple, it's just a code like "AGENT-X" that could sit in a field like the comments, or hopefully it's own field called Agent Code that is on the paypal express checkout form.
Is this possible? There is no real mention of it on the paypal introduction to express here
I've seen this question, I was hoping that I wouldn't have to add an extra screen to my checkout process just to collect this field, and that rather it could be collected on the paypal checkout screen
This is not possible with PayPal Website Payments Standard and/or Express Checkout unfortunately.
Is there no way to dynamically populate / retrieve the agent code? You can then pass it on in the CUSTOM parameter in your SetExpressCheckout API call and have it returned in GetExpressCheckoutDetails when the buyer is back on your site.