January 6, 2017 at 2:24 am #13912
I am using the Aweber integration so that when someone purchases a product they are automatically added to a list.
Is there any way to send tags along with the customer information? Ideally I’d like to send some address info (city, state, zip) for targeting purposes. Is this possible?January 6, 2017 at 4:12 am #74877
…possibly even IP Address…January 6, 2017 at 4:19 am #74878
FYI…I’m sure you know this, but found this snippet on Aweber’s site:
# create a subscriber
$params = array(
’email’ => ‘email@example.com’,
‘ip_address’ => ‘127.0.0.1’,
‘ad_tracking’ => ‘client_lib_example’,
‘misc_notes’ => ‘my cool app’,
‘name’ => ‘John Doe’,
‘custom_fields’ => array(
‘Car’ => ‘Ferrari 599 GTB Fiorano’,
‘Color’ => ‘Red’,
‘tags’ => array(‘cool_app’, ‘client_lib’, ‘other_tag’),
);January 9, 2017 at 12:22 am #74879
I did find this page on your site with some digging:
which was very helpful.
I believe I understand how to update tags for a subscriber, but an getting the following error from Aweber:
403 Method requires access to Subscriber information.
What is it?
This error is raised when you make a request to a resource that requires access to subscriber information, but your application has not specifically requested access to subscriber information from the AWeber Customer.
Log into your labs account and select ‘access to subscribers information’ for your application.
Issue new access tokens to your application.
Not sure is your app has the correct permissions to update subscriber info or I’m not doing it right…just thought I’d check if your app has the right permissions to update subscriber info.January 10, 2017 at 1:22 am #74880adminKeymaster
With our app we use the default permission so everyone is okay with it. The following statement from AWeber should explain why:
Only request permissions that your application needs in order to function. Keep in mind that users will be less comfortable allowing access to sensitive information.
You are doing your own custom integration basically. So you should create your own app with more permission then authorize that app. Use the plugin’s hook to be notified when an autoresponder signup should be done, then with your code (and your own app) do the signup.
You can create a small addon and handle this whole thing from that addon (without affecting anyone else). So you would disable the AWeber option in eStore settings then handle everything from the custom addon. The following addon can be used as an example:January 10, 2017 at 5:36 pm #74881
Ok, that makes sense. Thanks.January 28, 2017 at 4:03 am #74882
I was able to use the Mad Mimi Integration you suggested as a starting point for my own addon. Thanks, that was of great help.
I noticed in the hook “eStore_item_specific_autoresponder_signup”, you are only sending the “item_id” and “item_name”.
It would be of great value if there were more information available.
Would it be possible to add both the “current_cart_item” and “retrieved_product” to that call as well so that information would be available for any addon using that hook?
Secondly, is there any hook that isn’t called for each cart item, but could be called for the entire cart at once?
All that being said…would it be a valid solution to use the “eStore_product_database_updated_after_payment” hook instead of the eStore_item_specific_autoresponder_signup hook if I wanted to tie in to the entire cart all at once?
ThanksMay 20, 2021 at 2:54 pm #83040
- You must be logged in to reply to this topic.