About: I’m a ColdFusion/CFML web application developer at SunStar Media located in Monterey, CA. I am a fan of technology, music and web development.
Location:
Monterey, CA
Joined:
Aug 18, 2017
ColdFusion PayPal REST API CFC
Publish Date: Oct 15 '24
3 2
PayPal's NVP/SOAP API for Website Payments Pro accounts suddenly stopped working sometime around October 4th (possibly Sep 30). Some developers that reported having the issue were using legacy classic ASP and others were using ColdFusion. I believe we've been using the PayPal DoDirectPayment API since it was introduced back in 2002.
At some point, PayPal added the following undated disclaimer to their documentation. (According to Microsoft Copilot, "PayPal's NVP (Name-Value Pair) API was marked as "legacy" around October 12th, 2021".)
Important: PayPal isn't accepting new users for this feature, and we require existing users to upgrade to our Advanced Debit and Credit solution that supports EMV 3DS (3DS 2.0) for PSD2. Our Advanced Debit and Credit solution enables highly customizable custom-card fields and reduced PCI Compliance requirements. For more information, see Set up advanced credit and debit card payments.
CFPayment (retired) supports WPP & Payflow, but not the new REST API method. Searching online for "ColdFusion (or cfml) paypal rest api" didn't return anything beneficial, so it became apparent that there was a need for a solution... any solution.
For our client's needs (Level 1; B2C), we were only required to perform a simple credit card transaction. This is a basic CFC that provides that functionality of the PayPal NVP/SOAP endpoint. Please note that there are many other resources available for the PayPal REST APIs, but this CFC only supports minimal features available in the Create Order and Confirm the Order endpoints.
There are a few dedicated CFML groups on Slack, Facebook, and the Adobe Forums, but many CF developers who previously maintained independent blogs have either vanished or ceased posting in the last 5 to 10 years. :(
I've gained a lot from various blogs during my time as a developer, and now I'm paying it forward with this effort.
It is refreshing seeing the word "ColdFusion" again!!