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.

I Need a PayPal to CC script

Highlighted
Solution Provider

I Need a PayPal to CC script

I'm looking for something that works with the cc api that allows a customer to first make an online purchase through paypal and then auto-add the contact's name, email, phone to a cc list, then send the cc autoresponder with a link to the pdf or audio file. If you have something produced for that, let me know how much the charge would be for you to set that up for me.

3 REPLIES 3
Highlighted
Employee

Re: I Need a PayPal to CC script

Hi,

 

We don't have anything like that set up on our side, sorry.  I'm not sure if paypal will allow you to add code to their webpage so that happens, but if not, you will need to find out if paypal has an API that can notify you when a transaction takes place, and then you can develop the subsequent code to add the contact to your lists.  That side of it (once you have the desired information from paypal) is fairly simple.  Adding a new contact to your account through our API is the most common integration point here, and we can provide you with some sample code to do so.

 

You can look for developers here in our marketplace.

 

Best Regards,

Shannon W.

API Support Specialist

Highlighted
New Member

Re: I Need a PayPal to CC script

Hi,

 

PayPal does offer an API through their IPN service.  Instant Payment Notification service.

 

When a buyer completes a transaction it sends the details to the url that is in the IPN setting.

 

It notifies if it was successful,failed, on hold.

 

For payment profiles it also sends messages for each payment received,skipped, and etc.

 

 

Aweber offers what we are looking for here:

 

https://help.aweber.com/entries/21697302-how-do-i-integrate-paypal-with-aweber

 

Would like to have a solution like that for Constant contact.

 

I have asked on stackoverflow.com on how to do this.

 

Link below:

 

http://stackoverflow.com/questions/16494368/use-constant-contact-api-to-add-new-user-to-a-specific-m...

 

 

Before getting started on working on this myself wondering if anyone have came up with the solution for this yet?

 

Or interesting in coming up or working with to get the solution?

 

Also I want to do this in asp.net 4.5 using c#

 

Would it be best to do this with C# instead of an API?

 

 

Have PayPal send notication to code behind webpage  notifiey.aspx.cs

 

Then have the C# code for adding contacts be fired up from there? and then fire up the autoresponders?

 

Which method would be best?

 

API or C#

 

 

Thanks,

 

Brian Davis

Highlighted
Employee

Re: I Need a PayPal to CC script

Hi,

 

Your solution sounds good.  You will be using our API to create the new contact, whether you use C# or some other language to send the request to our API.  We have a .net sdk and sample script that shows how to add or update a contact.  If you try to add (create) an email address that was already in the account at some point, you will receive a 409, so those contacts should be updated.  The script does handle that appropriately by doing a search, and then adding or updating the contact as needed.

 

Your solution is good, if the webpage is up & on a machine that is never (or rarely) down.  You could also run a cron script, querying paypal for new transactions each day to get email addresses of purchasers, and then sending the contacts to us (perhaps each night).

 

Best Regards,

Shannon W.

API Support Specialist

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