The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Help with PHP script using API to integrate with my website

Highlighted
Occasional Contributor

Help with PHP script using API to integrate with my website

I am having issues with a PHP script I wrote a few months back to connect to the API and add contacts to a particular list.  The script used to work correctly, but it seems like it is not working anymore.

 

The script collects an email address from a contact form submission, and then adds that contact to a specific list.  I will gladly post my code here if that is the best next step.  

 

Thanks,

Jayson Kostelyk

(Web developer on behalf of Melanie Petro)

2 REPLIES 2
Highlighted
Employee

Re: Help with PHP script using API to integrate with my website

Hey Jayson,

 

If you could please post your code so we can take a look at it. Also if you can give us any error codes that you have received and do not forget to remove your username and password.

 

Ryan Davis
Quality Engineer
Highlighted
Occasional Contributor

Re: Help with PHP script using API to integrate with my website

Hmm... yesterday I tested my forms a handful of times, with no luck.

 

Today, every single contact form is working (I tested them all again).  Go figure.

 

I'm good - I'll post again if I have any more issues.

 

Thanks!

Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More
Featured