Document toolboxDocument toolbox

Product Credit Card Decline Email

Summary / TL:DR: This article will introduce you to Product Credit Card Decline emails in Blueshift.

3 min read


Table of contents


Capability

Send an email to a customer to inform them that the credit card used for their product payment was declined.


Use Case

As an affiliate, I want to send an email to a customer to inform them that the credit card used for their product purchase was declined.
This event will be sent to the Blueshift instance that corresponds with the owning org associated with the transaction.


Blueshift Event Name

product_creditcard_decline


Event Payload Parameters

Parameter

Description

Parameter

Description

event

Name of triggering event

retailer_customer_id

Concatenation of [Advantage billTo customer number]-[Advantage billTo emailId]

customer_firstname

First name of billTo customer

customer_lastname

Last name of billTo customer

street1

Street address, line 1 of billTo customer address

street2

Street address, line 2 of billTo customer address

city

City of billTo customer address

state

State of billTo customer address

post_code

Postal code of billTo customer address

country

Country of billTo customer address

email

Email of billTo customer

promotion_code

Promotion code affiliated with the order

cc_order_number

The order number affiliated with the credit card decline

order_balance

The amount remaining due of the original total product cost

order_total

The total amount of the credit card decline

cc_last_4digit

Last four digits of the credit card used

card_expiration

Expiration date of the credit card used

card_code

Code that identifies the type of credit card used

currency

Currency type for this order

reject_code

Code that identifies the reason for the credit card decline

owning_org

Code for the legal entity associated with the product/item

proitem_number

Inventory item number used to identify the product item

invoice_date

 

item_description

Description of stock item

auto_delivery_purchase

 

reject_code

 

line_items

this is yet to be added by Decisions


Sample Payload

 

{ "_bsft_event_timestamp": "2021-03-01T16:38:24Z", "_bsft_transaction_uuid": "0417f9a3-4c3f-4879-a376-15a4cd833e7f", "_bsft_ts": "2021-03-01T16:38:24Z", "account_uuid": "8e4d88a4-40db-4259-a755-dc049df9fea7", "auto_delivery_purchase": true, "card_code": "vi", "card_expiration": "2024-12", "cc_last_4digit": "2936", "cc_order_number": "ts696610", "city": "selma", "country": "united states", "currency": "us$", "customer_firstname": "sejal", "customer_id": "000106061830-000089668824", "customer_lastname": "patel", "email": "spatel@14west.us", "event": "product_creditcard_decline", "event_uuid": "8aa01b82-7aac-11eb-8ebb-0242ac11000b", "invoice_date": "2021-02-16t05:00:00+00:00", "item_description": "bp complete 120", "order_balance": "75.55", "order_total": 0, "owning_org": "600", "post_code": "367013913", "proitem_number": "650sbpc", "promotion_code": "sac12", "reject_code": "349", "retailer_customer_id": "000106061830-000089668824", "sanitized_at": "2021-03-01T16:38:24Z", "session_uuid": "70340f8a-f8b1-4da5-94b7-193c3d692d04", "site": "newmarketgroup.com", "state": "al", "street1": "2814 citizens pkwy", "timestamp": "2021-03-01T16:38:24Z", "timestamp_epoch": 1614616704, "user_uuid": "7b09d004-21e7-4ef0-9cdd-73f143a19dea" }

Setting up a Campaign

  1. Create an event triggered campaign using the event ‘product_creditcard_decline’.

  2. Set the condition “Skip Global Inclusion Segment Check” to “Yes”.

  3. Select the associated template for your campaign.

  4. If one campaign is used for setting up a mailing for multiple items, set the condition “User can be in the campaign journey” to “Multiple times concurrently”.This will allow you to send an email to a individual customer who cancels multiple subscriptions at different times.

 


Reporting

The event name in the payload will be passed in the mailing activity events. This will be available in the reporting platform for filters.


Things to Consider When Planning your Migration and/or Setup

  1. Please follow the Transition Guidelines shared by the MarTech team during your Migration Planning workshop.

  2. If you have an existing Message Central Auto Delivery (BCL) Cancellation workflow on Advantage, your new Blueshift workflow has already been set up on Advantage and is ready to send events.

  3. If you never had an Auto Delivery Cancellation workflow on Advantage, there is no longer a need to share the new campaign ID with the Advantage team during initial set up. The same event category can be used for multiple campaigns, segments, etc. without Advantage configuration support.

  4. The Auto Delivery Cancellation workflow will account for all owning orgs associated with your Blueshift instance. Please note: additions of new owning orgs must be reported to the MarTech team so it can be added to your Blueshift instance.


Wrap up

You should now have a better understanding of Product Credit Card Decline emails in Blueshift.

Still need help?

We know this can be frustrating. To get further help please open a Support ticket.

Click here to open a ticket


Related Content


Level up with a Masterclass

Evolve course title

Get started!

Evolve course title

Get started!


 

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'html-macro' is unknown.