The email address I am attempting to send to is one provided / hosted on 123-reg.
I received emails to that address if sent from my personal email, and I can also send emails back from within that inbox.
I have tested the contact form to make sure it works by first inputting my personal email address, and I receive the activation email as usual and once activated, can received contact sent via the contact form, directly to my personal email address.
However, when I use the email provided via 123reg, I don't receive the activation email at all. I've also checked spam folder, but nothing there either.
For anyone unfamiliar with formsubmit, here is the link: https://formsubmit.co/ -- what you see in the demo is pretty much all it takes to get a contact form set up. I've tried contacting them directly but it's been about a week or 2 and yet to receive a response.
If anyone can help, or suggest anything to help me figure out why it's not working it'd be much appreciated!
According to my knowledge, this is something you have to check with your email service provider. Because you have received FormSubmit emails into your personal email address, so the issue might be with the 123-reg.
Please try to contact them to get some support.
This answer works. Remember to replace your email with the string sent in the activation email before you click on Activate.
<form class="i-form" action="https://formsubmit.co/youremail#gmail.com" method="POST">
<!--optional starts--> <input type="hidden" name="_url" value="https://youremail#gmail.com/thepage.html"> <!--optional ends-->
<label for="name">Name</label>
<input type="text" id="name" name="name" class="i-email">
<br>
<label for="email">Email</label>
<input type="email" id="email" name="i-email" class="i-email">
<br>
<input type="submit" value="Get started">
</form>
Form activated
Form submitted by other user
User inputted submitted via form received in my inbox
Related
PayPal is ignoring my return variable on PayPal Subscribe Button, even though "Auto return" option is enabled.
At first, I did not have the "Auto return" option enabled, and PayPal just showed a receipt page after the user subscribed, with no link back to our site, despite passing the return variable with our receipt page.
Then we enabled the "Auto return" option and was forced to enter some URL, so we created a generic page for PayPal to hit to verify the page exists, which I understand is required to enable the feature.
However, now users are able to subscribe and they see that awesome "If you are not redirected... in 10 seconds... click here" message, which takes the user to the static return page we setup in the "Auto return" settings, not the dynamic URL we passed to PayPal using the return variable.
Here's what our button code looks like:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="MYHOSTEDBUTTONID">
<input type="hidden" name="custom" value="MyCustomData">
<input type="hidden" name="return" value="https://www.example.com/secure/page/receipt?specialId=1234">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_subscribeCC_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>
Did PayPal break this feature or am I doing something wrong?
For hosted buttons, the return doesn't belong there, it should be in the Advanced Variables section of step 3 of creating the button.
These HTML buttons are deprecated, they are from ~18 years ago and some new PayPal accounts can no longer create them (my understanding is all will not be able to create them soon enough.) The recommended integration method is a "Smart Subscribe" button, which uses JS and a client ID to identify the receiver account. To be notified of completed payments with a smart subscribe button, create a listener URL on your server for the webhook event PAYMENT.SALE.COMPLETED (that is the only subscription webhook event that is truly useful, all others are of limited utility). As for redirecting a Smart payer, if you need to do that you can add a window.location.href redirect from the onApprove function. Modern websites don't redirect unless they absolutely need to, consider using this function to display whatever message in the DOM w/o a redirect. But don't depend on sending data to a server from the client onApprove, as for whatever reason the client may never notify the server. The PAYMENT.SALE.COMPLETED webhook is the only reliable way to get notifications. For reconciliation, there is a similar custom_id variable available alongside the plan_id when creating the subscription in the createSubscription function.
I have built a system with Paypal for a client however the client has now asked once a customer has made an order if an email can be sent to them and also the warehouse so they can start packaging it.
Just to make sure could this be achieved by adding another value in the html code like this:
<input type="hidden" name="business" value="email#address1.co.uk" value="email#address2.co.uk">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="item_name" value="Personal Built Board 27 Inch">
<input type="hidden" name="amount" value="44.50">
.... and so on
PayPal is a payments service, not an email service: the business identifies the recipient of the transaction (order, and eventually payment), and only incidentally who gets sent the email. You need to identify the (single) counterparty to the transaction in this 'business' field.
Also, PayPal recommends against using their emails for fulfillment activity, as there are too many ways for it to go wrong (emails can get spam filtered, misfiled, spoofed, etc).
The best practice for this sort of thing is to integrate PayPal's IPN service for secure notification of order placements. Your sytem would, upon receiving and verifying the IPN, send whatever notifications are required to various people or systems to initiate fulfillment (e.g., you send 2 different emails from the one IPN, if emails are what you want to use internally).
Yes, it is possible, but you have to change the syntax like below.
Use [ ] in the field name to send multiple values:
<input type="hidden" name="your_field_name[]" value="1" />
<input type="hidden" name="your_field_name[]" value="2" />
<input type="hidden" name="your_field_name[]" value="3" />
You will get an array of values in the your_field_name field.
Refer this.
I must be going crazy, or I'm completely lost when it comes to understanding what is doable when it comes to PayPal buttons on my site - either way I must apologise if this seems obtuse.
I'm building a custom CMS for my clients, and I'm trying to let them utilize PayPal on their sites by simply entering in either their merchant ID, or their PayPal e-mail address, and then let CMS will do the rest. Ideally:
Client enters merchant ID / PayPal e-mail address into CMS backend
CMS generates "Buy Now" button for client's buyers to click on
Buyer pays on PayPal's site
Buyer gets redirected to client's site
My headache disappears
This seems to be easier said than done. I've read the developer documentation on generating your own buttons, and used that Javascript-based button generator to create a button with an IPN callback, but that's not going to redirect the buyers back to my clients' websites.
Thus my questions: is it at all possible to achieve what I'm looking to do with just my clients' merchant ID's? Is it possible to do it without them having to configure anything additional in their PayPal account settings to avoid set-up issues? Should I be looking at a different PayPal processing mechanism instead of the "Buy Now" button?
I should probably mention that I have a free PayPal account, not a Premium or Business account, but that should be irrelevant to this situation as it's not me that's trying to get paid.
Thanks in advance, and any help is GREATLY appreciated!
create a hidden field named 'return' in your form and put your return URL as the 'value'
A thank you to Billy for his answer, and while researching this topic some more, I've discovered that what I'm looking to do CANNOT be done with the current payment standards buttons on a standard free PayPal account. You can't achieve automatic redirection back to your site from PayPal with the Buy Now button.
As Billy mentioned, you can add return URLs that will give the user the option to click on a link that will return them to your site afterwards (PayPal will add these links to their side of operations themselves). To do this you would need to add the appropriate hidden fields to your PayPal form.
This worked for me:
<form method="post" action="https://www.paypal.com/cgi-bin/webscr">
<input type="hidden" name="button" value="buynow">
<input type="hidden" name="item_name" value="Item 1">
<input type="hidden" name="amount" value="1234.56">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="quantity" value="1">
<input type="hidden" name="env" value="www">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="return" value="http://www.site.com/success">
<input type="hidden" name="cancel_return" value="http://www.site.com/error">
<input type="hidden" name="business" value="your#email.com">
</form>
I hope this helps someone avoid headache and unnecessary documentation scouring!
I am trying to set up a subscription payment for Paypal. I am testing with the sandbox with the following code.
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
<br/>
<input type="hidden" name="cmd" value="_s-xclick"><br/>
<input type="hidden" name="hosted_button_id" value="3PFTX58KDNXHQ"><br/>
<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"><br/>
<img alt="" border="0" src="https://www.sandbox.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"><br/>
</form>
Above code is a auto generated subxcription button code from my sandbox account.
It is working file with subscription in sandbox. I mean after the subscription complete it is showing right data in my sandbox account with the subscription information. But the problem is when the subscription is done and user got back to site is having a auth get parameter with it. like
http://my-site.com/this-subscribe-button-return-url.php?auth=[auth_code_from_paypal]&form_charset=UTF-8
Actually My return url is like the following
http://my-site.com/this-subscribe-button-return-url.php?status=success
I have my ipn enabled and its pointing to different url than return url.
What is this auth value? and what am I supposed to do with it?
I want the whole subscription data posted back when somebody completes his subscription process to a certain url (like notify_url). I have already set my notify_url in my ipn settings.
Please somebody give a proper solution to these problems. Thanks in advance.
How are you wanting to get the information back, or what method are you trying to use? If you wanting to get the information back and validate it, you want to use PDT. This will allow you to validate the information that is being sent over to you as well.
I have a form on my website. When this form is submitted ( to the same page ) , a file is uploaded and all the details in the form are entered into a database. Next thing is we need to redirect to paypal for payment. Whats the best way to design this?
My form has the following fields:
name, email, password, attached file
PayPal Submission form is like this
<form id="frm_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="JDEC8Q72KAYRN">
<input type="submit" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_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>
Note:
I am not being able to redirect to paypal with post data using header('paypalurl')
Ya you cant redirect using header() because you've already sent headers to the page.
So basically, what you can do is gather all the data you need to save in the DB and when they click 'Sign Up' send them to a 'Confirmation Page' that says "Please confirm what you entered, press Pay Now when ready". So it adds an additional click, but its a familiar flow for most checkout processes, so it shouldnt be inconvenient really.
i know this question is old, but maybe it helps someone who comes across this like myself...
alternatively, you do not output any form fields but do a header redirect like so
header('location: https://www.paypal.com/cgi-bin/webscr?'.http_build_query($varsToSendtoPaypal).'');
i know in the paypal documntation it is supposed to be a post request, but I have - as yet anyway - not have had any problems doing it this way (and it saves that additional click)
just a suggestion though