Reply
Highlighted
Member
Posts: 1
Registered: ‎01-27-2012

Direct Post Method and PHP 4.4

I'm following the DPM dev guide and it's saying I need to use the PHP SDK. Unfortunately the SDK requires PHP 5.2+.

 

How can I use DPM with PHP 4? Is documentation available for this?

Highlighted
Posts: 1,609
Topics: 15
Kudos: 201
Solutions: 121
Registered: ‎06-23-2011

Re: Direct Post Method and PHP 4.4

I would guess that the primary difference between 4.x and 5.x is just the class function definitions. You could theoretically try rewriting those for AuthorizeNetDPM.php, AuthorizeNetSIM.php, and the various classes they build off of in the shared folder. Short of that, you can upgrade your site to use PHP 5.x.

 

Sadly, PHP 4.x was so long ago that even if there is a version of the SDK going back that far, it won't have DPM in it.