Paypal donation's notification going elsewhere instead of specified addressee - html

I have a question regarding paypal donation. This is the current paypal on a production site (excluding personal information which has been altered but otherwise identical).
The issue is that for some reason, it has randomly started sending the email notifications to the overall person in charge of the paypal's account here instead of specified email address written in the code beneath. And yes, the email addressee has received emails before, and is part of the paypal account.
Why would it suddenly just start sending emails to the overall account holder instead of the specified addressee?
Please let me know if there are further information I need to add. Thank you.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!-- Specify a Donate button. -->
<input type="hidden" name="cmd" value="_donations">
<input type="hidden" name="business" value="email_address">
<input type="hidden" name="item_name" value="Donation Program">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="return" value="URL">
<!-- Replace value with the web page you want the customer to return to after item cancellation -->
<input type="hidden" name="cancel_return" value="URL">
<!-- Note: shipping override variable is used with this example -->
<input type="hidden" name="no_note" value="0">
<!-- Specify details about the contribution -->
<input type="hidden" name="item_number" value="Donation Program">
<select name="amount" class="typl8-zeta">
<optgroup label="Donation Program">
<option value="200">$200</option>
<option value="250">$250</option>
<option value="300">$300</option>
<option value="350">$350</option>
<option value="400">$400</option>
<option value="450">$450</option>
<option value="500">$500</option>
</select>
<input type="hidden" name="currency_code" value="USD">
<br /><br />
<!-- Display the payment button. -->
<input type="image" name="submit" border="0"
src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif"
alt="PayPal - The safer, easier way to pay online">
<img alt="" border="0" width="1" height="1"
src="https://www.paypal.com/en_US/i/scr/pixel.gif" >
</form>

PayPal will always send email notifications to whichever email address is marked as "Primary" in your email settings on the account, no matter which email address you list in the 'business' input.

Related

Dynamic redirect url for PayPal Buy Now button

I have integrated a PayPal Buy Now button on my site as follows:
<form name="_xclick" action="https://www.paypal.com/uk/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="RECEIVER#RECEIVER.com">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="item_name" value="description here">
<input type="hidden" name="amount" value="100">
<input type="image" src="https://www.paypalobjects.com/en_US/NL/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
Upon a succesfull purchase, I would like to redirect the user to a certain page (not known in advance - dynamic). How can this be achieved?
You will need to set "return" field in your form. Like this:
<input type="hidden" name="return" value="URLspecificToThisTransaction">
For more information please visit the documentation here

Paypal add to cart button html for handling_cart options

I am OK at html but new to PayPal.
I want to be able to use a Paypal button directly from my site without having to use a third party shopping cart.
The only problem I have is that I am in the UK and Paypal do not offer postage/shipping options here dependent on where you are shipping to. So for instance PayPal's standard buttons would not allow me to charge different postage whether I was sending the product to the US or just a nearby town.
They allow you to add postage/shipping dependent on the value of the cart only.
So I have been looking at the html variables available for the buttons here https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#id08A6HH0D0TA and at posts on Stackoverflow
I wondered if there was any way of combining the option value.. and ="handling_cart" to do this – please see my working below.
So you would click the add to cart button and from the drop down select the shipping area e.g. UK, Europe, Rest of World. The handling charge on the cart would then reflect the option you chose. Instead of the handling cart value being NNNN it would be the value specified for the option, so for Europe £5.00.
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="DLNKFJWJGHZFW">
<table>
<tr><td><input type="hidden" name="on0" value="Shipping Options">Shipping Options</td></tr><tr><td><select name="os0">
<option value="UK Second Class + £2.85">UK Second Class + £2.85 £2.85 GBP</option>
<option value="UK First Class + £3.85">UK First Class + £3.85 £3.85 GBP</option>
<option value="Europe + £5.00">Europe + £5.00 £5.00 GBP</option>
<option value="Rest of World + £7.00">Rest of World + £7.00 £7.00 GBP</option>
</select> </td></tr>
<tr><td><input type="hidden" name="on1" value="or call us on +44(0)444444444">or call us on +44(0)444444444</td></tr><tr><td><input type="text" name="os1" maxlength="200"></td></tr>
</table>
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="handling_cart" value="NNNN">
<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
Secondary question: this html gets a straight error from PayPal, probably – among other things - because I am still calling it a hosted button (I think I might need to remove this and somehow link it to the Merchant ID???).
Note I have altered the hosted button id here as I was concerned about security - I might not need to be.
Many Thanks
Allyson
Your hosted button is not formatted correctly to handle the shipping drop down. Also you cannot modify a hosted button it will not work. I have created some sample non-hosted button code as an example of what will work if the shipping calculator is not available in your region.
You will have to update the business value to reflect your merchant id or your email address to test the button code.
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" >
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="youremail#email.com">
<input type="hidden" name="lc" value="GB">
<input type="hidden" name="item_name" value="Shipping Options">
<input type="hidden" name="button_subtype" value="products">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="cn" value="Add special instructions to the seller:">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="add" value="1">
<input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_LG.gif:NonHosted">
<table>
<tr><td><input type="hidden" name="on0" value="Shipping Options">Shipping Options</td></tr><tr><td><select name="os0">
<option value="UK Second Class">UK Second Class £2.85 GBP</option>
<option value="UK First Class">UK First Class £3.85 GBP</option>
<option value="Europe">Europe £5.00 GBP</option>
<option value="Rest of World">Rest of World £7.00 GBP</option>
</select> </td></tr>
<tr><td><input type="hidden" name="on1" value="or call us on +44(0)444444444">or call us on +44(0)444444444</td></tr><tr><td><input type="text" name="os1" maxlength="200"></td></tr>
</table>
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="option_select0" value="UK Second Class">
<input type="hidden" name="option_amount0" value="2.85">
<input type="hidden" name="option_select1" value="UK First Class">
<input type="hidden" name="option_amount1" value="3.85">
<input type="hidden" name="option_select2" value="Europe">
<input type="hidden" name="option_amount2" value="5.00">
<input type="hidden" name="option_select3" value="Rest of World">
<input type="hidden" name="option_amount3" value="7.00">
<input type="hidden" name="option_index" value="0">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

Pass products detail via paypal

I'm creating a simple paypal checkout where the customer can check out via PayPal. Below is the sample code i am using for paypal checkout.
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="item_name" value="kids t-shirt">
<input type="hidden" name="amount" value="200.00">
<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
As you can see, a simply form that passes product name and price which customer can see in their order summary.however how can i pass products details such as product size and color?
Just pass the some more hidden value.check the below code.
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="item_name" value="kids t-shirt">
<input type="hidden" name="amount" value="200.00">
<input type="hidden" name="on0" value="Size" />
<input type="hidden" value="your size value" name="os0">
<input type="hidden" name="on1" value="color" />
<input type="hidden" value="your color value" name="os1">
<input type="image" src="http://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>

paypal express checkout landingpage billing issue

For some reason I can't get my paypal express checkout to allow guest-checkout without logging into paypal. I have the two vital form fields
<input type="hidden" name="SOLUTIONTYPE" value="Sole" />
<input type="hidden" name="LANDINGPAGE" value="Billing" />
but it still only shows login.
The full form looks like this (without products, normally there'd be item_1, item_2 and so forth):
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="myimg.png" name="submit" class="wp_cart_checkout_button" alt="Betal med PayPal - det er hurtigt, gratis og sikkert!"><input type="hidden" name="return" value="return.com">
<input type="hidden" name="business" value="my#email.dr">
<input type="hidden" name="currency_code" value="DKK">
<input type="hidden" name="lc" value="da_DK">
<input type="hidden" name="SOLUTIONTYPE" value="Sole">
<input type="hidden" name="LANDINGPAGE" value="Billing">
<input type="hidden" name="logoimg" value="logo.png">
<input type="hidden" name="PAYMENTACTION" value="Sale">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="upload" value="1">
<input type="hidden" name="rm" value="2">
</form>
If you're specifying this information in a , you're most likely not using Express Checkout.
Can you share the rest of your code? I have a strong suspicion you're using Payments Standard instead.
With Payments Standard you can't force the billing or login page; it's determined by cookie. If a PayPal login cookie is found, it'll display the login page. If no login cookie is found, it will display the billing page.

Password from return url of recuring paypal payment is not matched with the one in the paypal confirmation page

i have integrated the recurring paypal payment method in mysite. In this method , i get the username and password from the return url. The username is same on both the return url and paypal confirmation page. But the password is different in both return url and paypal confirmation page.
i need the same password in both confirmation page and return url.
My code is . .
<form action="paypal.php" method="post">
<!-- Identify your business so that you can collect the payments. -->
<input type="hidden" name="business" value="alice#mystore.com">
<!-- Specify a Subscribe button. -->
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<!-- Identify the subscription. -->
<input type="hidden" name="item_name" value="Alice's Weekly Digest">
<input type="hidden" name="item_number" value="DIG Weekly">
<!-- Set the terms of the 1st trial period. -->
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="a1" value="0">
<input type="hidden" name="p1" value="14">
<input type="hidden" name="t1" value="D">
<!-- Set the terms of the 2nd trial period. -->
<input type="hidden" name="a2" value="5.00">
<input type="hidden" name="p2" value="3">
<input type="hidden" name="t2" value="W">
<!-- Set the terms of the regular subscription. -->
<input type="hidden" name="a3" value="49.99">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="Y">
<input type="hidden" name="src" value="1">
<input type="hidden" name="usr_manage" value="1">
<input type="hidden" name="return" value="http://server/projects/ananth/subscribebutton/thanks.php">
<input type="image" name="submit" border="0"
src="https://www.paypal.com/en_US/i/btn/btn_subscribe_LG.gif"
alt="PayPal - The safer, easier way to pay online">
<img alt="" border="0" width="1" height="1"
src="https://www.paypal.com/en_US/i/scr/pixel.gif" >
</form>
In this paypal confirmation page, the username and password are as follows
Password: deal2minor
Username: pp-cheersidle
In this Return url page, the username and password are as follows
Password : ojjxcsIatFLp2
Username : pp-cheersidle
I need the same password in the confirmation page to get returned in the return url. So only i can store it in my database .
Please advise me. . . .