Bigcommerce Mailchimp integration creates users without subscribtion status - mailchimp

Good morning, i installed mailchimp app into my bigcommerce store, i can now see the new bigcommerce customer appera in mymailchimp list when they sign up in bigcommerce. The problem is that the "Email marketing" status is not "Sbuscribed" but it is blank, and i cannot use theese contacts to send emails.
I create the bigcommerce users using API and not the template signup form, and the "accepts_marketing" flat is false by default and it is readonly.
How can i solve this problem? i need the users as Subscribed in my mailchimp.

The "accepts_marketing" flag on the customer record indicates whether the customer has opted in to receive abandoned cart recovery and review emails--it's not used to track marketing newsletter preferences. Newsletter subscriptions fall under the Subscribers resource:
https://developer.bigcommerce.com/api-reference/customer-subscribers/subscribers-api/subscribers/createsubscriber
The Mailchimp app will be listening for a POST to the /customers/subscribers resource to create a new newsletter subscriber, so if you're creating users programmatically, you'll need to create the subscriber separately from the customer record.

Related

Stripe Customer Portal: How to update the subscription with multiple products?

I have a subscription with multiple products, how can I update this subscription in the customer portal? (I implemented the customer portal, but the Update Plan button is hidden with the subscription with multiple products.)
I know this is the limitation of stripe but is there another solution?
I asked Stripe and got a solution: Cancel the old subscription and resubscribe.
enter image description here

How to handle a error inside webhook after checkout payment

I am using Stripe Checkout(Payment intent) method in my Laravel site to get the payment from the customers and then add order to the database using webhook. What if I have an error inside the webhook while inserting to a database or any error like soldout, in this case, the customer will pay but the order will not be added to the database, how to refund to the customer if the order not completed?
How to handle this situation?

Why would a Subscription have no Payment Method Token, and how can I map it to a Customer?

I'm trying to retrieve the customer who created a subscription via its payment_method_token, as described by Braintree developer agf. However, one of my subscriptions has no Payment Method Token. The field comes back as null from the API, and shows up as a blank space in the dashboard:
The docs offer no suggestion that this field could ever be empty. What can cause this to occur, and how can I find out which customer this subscription is associated with?
Full disclosure: I work at Braintree. If you have any further questions, feel free to contact support.
If a payment method is deleted and it has subscriptions connected to it, then the subscription will be canceled, the token will be disassociated from the subscription and you will see this in the control panel.
If there are transactions associated with the subscription, you can get customer information from the transaction objects. In this case, it seems like the subscription never created a transaction before it was deleted so unfortunately you won't be able to trace that back to a customer.

How can I integrate mailchimp newsletter subscription in magento

I want to create a newsletter subscription which can be integrated with mailchimp.
I have a list in mailchimp and my site have four stores when any customer subscribe from any store its store name should be also added in store id in mail chimp account with all its subscription dtails.
There is a freely available extension by ebizmarts and approved by Mailchimp for integration with Magento:
https://connect.mailchimp.com/integrations/magento
http://www.magentocommerce.com/magento-connect/ebizmarts-magemonkey-official-mailchimp-and-mandrill-extension.html

Google Checkout subscription: How to identify the user

We are using Google Checkout - google handled subscriptions. In our html form we are using merchant-item-id parameter to store the subscription plan id and user id, so when Google Checkout send us back the notification for the new orders (merchant-item-id is there) we know what user for what plan to charge. So far this works perfect.
But now, when a month is passed, and Google Checkout start creating the reoccurring orders, there is no merchant-item-id parameter in the notifications they send. So we don't know what user for what plan is charged.
What should we use as user identifier, so we can handle properly the subscription on our site?
Any ideas?
Btw. I know about the "buyer-id" parameter which is send with each new order notification, but that will not work for us, because it is possible that the same google buyer is paying for several of our users accounts.
I would try putting some unique info in "shopping-cart.items.item-1.merchant-private-item-data" to something unique that I can identify the subscription by.
Nikolaj

Resources