paypal sandbox custom field return error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
<input type="hidden" id="custom" name="custom" value="nom_client={$smarty.post.nom_client}&prenom_client={$smarty.post.prenom_client}&tel_client={$smarty.post.tel_client}&adresse_client={$smarty.post.adresse_client|urlencode}&choix_pack={$smarty.post.choix_pack}&nombre_places={$smarty.post.nombre_places}&email_client={$smarty.post.email_client}&date_naisance={$smarty.post.date_naissance}&id_soiree={$smarty.post.id_soiree}&tranche_horaire=00h00&tranche_horaire_retour=05h00">
All of this works fine, except the last parameter &tranche_horaire_retour=n/c
Paypal does not want it. Evertime it brings to an error page
This trouble come only with the last parameter. When I remove it all works fine. I thought first it was concerning the lenght of that input but it is not the case. I have only that problem with the last parameter of my string.
This returns to me something like that :
<input type="hidden" id="custom" name="custom" value="nom_client=test&prenom_client=test&tel_client=44.44.44.44.44&adresse_client=Rue+des+Gdes+Filles+Dieu%2C+28000+-+Chartres&choix_pack=1&nombre_places=4&email_client=hidden&date_naisance=28-01-2000&id_soiree=1&token=5b3475328510c&tranche_horaire=00h30&tranche_horaire_retour=05h00">
When I validate the form I got the error message upper. When I remove the last parameter I have no errors. when I remove an other parameter and keep the last one "tranche_horaire_retour" I still have an error.
I've tried to rename it but no success.
I guess I'm doing something wrong but I don't know what.
anykind of help will be much appreciated.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- IPN works in sandbox but not live in Sandbox Environment
- Change the button from Sandbox to Production in REST APIs
- Buy Now button in the sandbox - no customer confirmation email in Sandbox Environment
- Cart dropps items, fails to return customer to previous window in PayPal Payments Standard
- Simple Paypal button integration results in 404 error in Sandbox Environment