AuthorizeNet / sample-code-php

This repository contains working code samples which demonstrate php integration with the Authorize.Net API
MIT License
175 stars 197 forks source link

Variable defination missing from example code #152

Open TerrePorter opened 4 years ago

TerrePorter commented 4 years ago

Just thought I would pass along that it appears the definition for the $errorMessages variable got left out from the last commit in this example.

Assuming this is the missing code, from the previous commit.

$errorMessages = $response->getMessages()->getMessage();

Example reference: https://github.com/AuthorizeNet/sample-code-php/blob/6e1dcf6d2d86950b5973946b2507c70d8ec83381/CustomerProfiles/update-customer-payment-profile.php#L79