Webform Builder and Paypal - Post ID...

User 2088758 Photo


Senior Advisor
3,086 posts

Good morning fellow creators,

Although I rarely use this feature anymore I did notice that Paypal is no longer providing Tokens to put into the Web Form Builder. Upon some checking in the Paypal forums they suggest using that the process is out of date. I would assume payment cannot be processed from the form any longer.

You're right, the instructions for obtaining a PDT identity token are out of date. I'd guess this is in part because using PDT for anything important is 15 years out of date.

PDT is completely unreliable, because returns are never guaranteed to happen, due to browser/network crashes or the customer not waiting for the auto-return (there is a timer) or not clicking through to return (typically guests w/o an account must be shown a receipt and click to return). So PDT is suitable for informational purposes only (e.g. showing buyers a thank you message when they do return.).

Absolutely no business logic should depend on a PDT return actually occurring. Instead, if you need a dependable notification from PayPal of payment completion, an asynchronous IPN or one of the newer webhooks should be listened for -- or alternatively, the integration should be changed to a more robust synchronous server-side one such as this pattern: https://developer.paypal.com/demo/check … ern/server , where there is always an immediate API response on payment capture for notification purposes.

TL;DR it's a super old web 1.0 thing and nearly worthless in 2020.. still around for backwards compatibility, not because it makes sense to use.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 187934 Photo


Senior Advisor
20,188 posts

I've never used it because it didn't make sense to me for a form to be submitted before they made their payment.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2088758 Photo


Senior Advisor
3,086 posts

The only time I have really used it was for selling Tickets for a charity event one of my clients were having. They would fill out the form, how many people, where they were coming from and based on the answer it would charge the x amount. It was very useful and easy to set up. I guess I will be looking for other options going forward.

Thanks for the reply Eric.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 187934 Photo


Senior Advisor
20,188 posts

You could still write your own backend. I use a Paypal API on one of my sites.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2088758 Photo


Senior Advisor
3,086 posts

Ha! Eric if only I was as good as you at doing that I would LOL... maybe if my client insists I will direct them your way and you can make a little $$$ from it.

I told my client that PayPal offers a way to have a more complicated order form he could use if he wanted as well. Ball is in his court now :cool:
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 187934 Photo


Senior Advisor
20,188 posts

Paypal has lots of examples for the api setup. Once you start reading them it's makes more sense but it can seem over whelming if you don't take your time. If you needs some help email me.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.