A payment for an initial order or a subscription recurring interval has been declined.
JSON Reference
This notification uses the Purchase Model.
Examples
{
"meta": {
"type": "OnlinePaymentDeclined",
"date": "2019-03-25T13:56:30.349654",
"schemaUrl": "https://www.cleverbridge.com/JsonNotificationSchemas/OnlinePaymentDeclined"
},
"purchaseId": 169190319,
"status": "Declined",
"statusId": "DEC",
"billingContact": {
"language": "English",
"languageId": "en",
"locale": "en-US",
"company": "Your Company Name",
"firstname": "John",
"lastname": "Doe",
"companyRomanized": "Your Company Name",
"firstnameRomanized": "John",
"lastnameRomanized": "Doe",
"country": "Germany",
"countryId": "DE",
"email": "[email protected]"
},
"deliveryContact": {
"language": "English",
"languageId": "en",
"locale": "en-US",
"company": "Your Company Name",
"firstname": "John",
"lastname": "Doe",
"companyRomanized": "Your Company Name",
"firstnameRomanized": "John",
"lastnameRomanized": "Doe",
"country": "Germany",
"countryId": "DE",
"email": "[email protected]"
},
"licenseeContact": {
"language": "English",
"languageId": "en",
"locale": "en-US",
"company": "Your Company Name",
"firstname": "John",
"lastname": "Doe",
"companyRomanized": "Your Company Name",
"firstnameRomanized": "John",
"lastnameRomanized": "Doe",
"country": "Germany",
"countryId": "DE",
"email": "[email protected]"
},
"paymentInfo": {
"currency": "Euro",
"currencyId": "EUR",
"paymentType": "Visa",
"paymentTypeId": "CCA_VIS",
"isPurchaseOrder": false,
"cardLastFourDigits": "064T",
"cardExpirationDate": {
"month": 1,
"year": 2022
}
},
"creationTime": "2019-03-25T13:56:30.349654",
"lastModificationTime": "2019-03-25T13:56:32.234016",
"remoteAddress": "89.1.3.0",
"httpUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36",
"httpEntryUrl": "https://shop.yourcustomdomain.com/1584/?scope=checkout\u0026cart=219783,219788,%20\u0026x-source=christmas%20newsletter\u0026x-reference=A5434A",
"httpReferer": "https://shop.yourcustomdomain.com/1584/?scope=checkout\u0026cart=219783,219788,%20\u0026x-source=christmas%20newsletter\u0026x-reference=A5434A",
"httpAcceptLanguage": "de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7",
"internalCustomer": "UUID-YOUR-UNIQUE-ID-1234-5678",
"customerConfirmationPageUrl": "https://shop.yourcustomdomain.com/1584/p/169190319-Fxa6gRj3BHddLUWr1234",
"merchantOfRecord": "AG",
"items": [{
"runningNumber": 1,
"productId": 219783,
"productName": "Film Now",
"productNameExtension": "Film Now for 12 months",
"yourProductId": "internal_id_219783",
"yourProductName": "Film Now",
"internalCategory": "Film",
"clientId": 1584,
"quantity": 1,
"yourCurrency": "Euro",
"yourCurrencyId": "EUR",
"profitCalculation": {
"grossRevenue": 9.99,
"collectedVat": 1.60,
"netRevenue": 8.39,
"cbMarginPercentage": 0.0,
"cbMarginFix": 0.0,
"yourNetProfit": 8.39,
"yourVat": 1.60,
"yourGrossProfit": 9.99
},
"yourPrice": {
"productSinglePrice": {
"netPrice": 8.39,
"vatPrice": 1.60,
"grossPrice": 9.99,
"vatPercentage": 19.0
},
"productTotalPrice": {
"netPrice": 8.39,
"vatPrice": 1.60,
"grossPrice": 9.99,
"vatPercentage": 19.0
},
"totalSinglePrice": {
"netPrice": 8.39,
"vatPrice": 1.60,
"grossPrice": 9.99,
"vatPercentage": 19.0
},
"totalTotalPrice": {
"netPrice": 8.39,
"vatPrice": 1.60,
"grossPrice": 9.99,
"vatPercentage": 19.0
}
},
"customerPrice": {
"productSinglePrice": {
"netPrice": 8.39,
"vatPrice": 1.60,
"grossPrice": 9.99,
"vatPercentage": 19.0
},
"productTotalPrice": {
"netPrice": 8.39,
"vatPrice": 1.60,
"grossPrice": 9.99,
"vatPercentage": 19.0
},
"totalSinglePrice": {
"netPrice": 8.39,
"vatPrice": 1.60,
"grossPrice": 9.99,
"vatPercentage": 19.0
},
"totalTotalPrice": {
"netPrice": 8.39,
"vatPrice": 1.60,
"grossPrice": 9.99,
"vatPercentage": 19.0
}
},
"deliveries": [],
"recurringBilling": {
"subscriptionId": "S29415062",
"subscriptionItemRunningNo": 1,
"subscriptionEventtypeId": "new",
"originalPurchaseId": 169190319,
"originalPurchaseItemRunningNumber": 1,
"intervalNumber": 0,
"intervalLengthInDays": 0,
"intervalLengthInMonths": 12,
"gracePeriodDays": 15,
"statusId": "NEW",
"status": "New",
"itemStatusId": "ACT",
"itemStatus": "Active",
"cancellationUrl": "https://shop.yourcustomdomain.com/1584/crb/169190319-Fxa6gRj3BHNdLUWq1234-1",
"changePaymentSubscriptionUrl": "https://shop.yourcustomdomain.com/1584/scp/S29415062-95Govpy0MgKF1234",
"nextBillingProfit": {
"grossRevenue": 9.99,
"collectedVat": 1.60,
"netRevenue": 8.39,
"cbMarginPercentage": 0.0,
"cbMarginFix": 0.0,
"yourNetProfit": 8.39,
"yourVat": 1.60,
"yourGrossProfit": 9.99
},
"renewalType": "Automatic"
}
},
{
"runningNumber": 2,
"productId": 219788,
"productName": "New Tunes",
"productNameExtension": "New Tunes",
"yourProductId": "internal_id_219788",
"yourProductName": "New Tunes",
"clientId": 1584,
"quantity": 1,
"yourCurrency": "Euro",
"yourCurrencyId": "EUR",
"profitCalculation": {
"grossRevenue": 5.99,
"collectedVat": 0.96,
"netRevenue": 5.03,
"cbMarginPercentage": 0.0,
"cbMarginFix": 0.0,
"yourNetProfit": 5.03,
"yourVat": 0.96,
"yourGrossProfit": 5.99
},
"yourPrice": {
"productSinglePrice": {
"netPrice": 5.03,
"vatPrice": 0.96,
"grossPrice": 5.99,
"vatPercentage": 19.0
},
"productTotalPrice": {
"netPrice": 5.03,
"vatPrice": 0.96,
"grossPrice": 5.99,
"vatPercentage": 19.0
},
"totalSinglePrice": {
"netPrice": 5.03,
"vatPrice": 0.96,
"grossPrice": 5.99,
"vatPercentage": 19.0
},
"totalTotalPrice": {
"netPrice": 5.03,
"vatPrice": 0.96,
"grossPrice": 5.99,
"vatPercentage": 19.0
}
},
"customerPrice": {
"productSinglePrice": {
"netPrice": 5.03,
"vatPrice": 0.96,
"grossPrice": 5.99,
"vatPercentage": 19.0
},
"productTotalPrice": {
"netPrice": 5.03,
"vatPrice": 0.96,
"grossPrice": 5.99,
"vatPercentage": 19.0
},
"totalSinglePrice": {
"netPrice": 5.03,
"vatPrice": 0.96,
"grossPrice": 5.99,
"vatPercentage": 19.0
},
"totalTotalPrice": {
"netPrice": 5.03,
"vatPrice": 0.96,
"grossPrice": 5.99,
"vatPercentage": 19.0
}
},
"deliveries": []
}],
"extraParameters": {
"x-reference": "A5434A",
"x-source": "christmas newsletter"
}
}
<?xml version="1.0" encoding="utf-8"?>
<cbn:OnlinePaymentDeclined xmlns:cbn="http://xml.cleverbridge.com/3.13.0.9/cleverbridgeNotification.xsd">
<cbn:NotificationDate>2019-03-25T13:56:30.349654Z</cbn:NotificationDate>
<cbn:Purchase cbt:Id="169190319" xmlns:cbt="http://xml.cleverbridge.com/3.13.0.9/cleverbridgeTypes.xsd">
<cbt:Status>Declined</cbt:Status>
<cbt:StatusId>DEC</cbt:StatusId>
<cbt:BillingContact>
<cbt:Language>English</cbt:Language>
<cbt:LanguageId>en</cbt:LanguageId>
<cbt:Locale>en-US</cbt:Locale>
<cbt:Company>Your Company Name</cbt:Company>
<cbt:Firstname>John</cbt:Firstname>
<cbt:Lastname>Doe</cbt:Lastname>
<cbt:CompanyRomanized>Your Company Name</cbt:CompanyRomanized>
<cbt:FirstnameRomanized>John</cbt:FirstnameRomanized>
<cbt:LastnameRomanized>Doe</cbt:LastnameRomanized>
<cbt:Country>Germany</cbt:Country>
<cbt:CountryId>DE</cbt:CountryId>
<cbt:Email>[email protected]</cbt:Email>
</cbt:BillingContact>
<cbt:DeliveryContact>
<cbt:Language>English</cbt:Language>
<cbt:LanguageId>en</cbt:LanguageId>
<cbt:Locale>en-US</cbt:Locale>
<cbt:Company>Your Company Name</cbt:Company>
<cbt:Firstname>John</cbt:Firstname>
<cbt:Lastname>Doe</cbt:Lastname>
<cbt:CompanyRomanized>Your Company Name</cbt:CompanyRomanized>
<cbt:FirstnameRomanized>John</cbt:FirstnameRomanized>
<cbt:LastnameRomanized>Doe</cbt:LastnameRomanized>
<cbt:Country>Germany</cbt:Country>
<cbt:CountryId>DE</cbt:CountryId>
<cbt:Email>[email protected]</cbt:Email>
</cbt:DeliveryContact>
<cbt:LicenseeContact>
<cbt:Language>English</cbt:Language>
<cbt:LanguageId>en</cbt:LanguageId>
<cbt:Locale>en-US</cbt:Locale>
<cbt:Company>Your Company Name</cbt:Company>
<cbt:Firstname>John</cbt:Firstname>
<cbt:Lastname>Doe</cbt:Lastname>
<cbt:CompanyRomanized>Your Company Name</cbt:CompanyRomanized>
<cbt:FirstnameRomanized>John</cbt:FirstnameRomanized>
<cbt:LastnameRomanized>Doe</cbt:LastnameRomanized>
<cbt:Country>Germany</cbt:Country>
<cbt:CountryId>DE</cbt:CountryId>
<cbt:Email>[email protected]</cbt:Email>
</cbt:LicenseeContact>
<cbt:PaymentInfo>
<cbt:Currency>Euro</cbt:Currency>
<cbt:CurrencyId>EUR</cbt:CurrencyId>
<cbt:PaymentType>Visa</cbt:PaymentType>
<cbt:PaymentTypeId>CCA_VIS</cbt:PaymentTypeId>
<cbt:IsPurchaseOrder>false</cbt:IsPurchaseOrder>
<cbt:CardLastFourDigits>064T</cbt:CardLastFourDigits>
<cbt:CardExpirationDate>
<cbt:Month>1</cbt:Month>
<cbt:Year>2022</cbt:Year>
</cbt:CardExpirationDate>
</cbt:PaymentInfo>
<cbt:CreationTime>2019-03-25T13:56:30.349654Z</cbt:CreationTime>
<cbt:LastModificationTime>2019-03-25T13:56:32.234016Z</cbt:LastModificationTime>
<cbt:SubscriptionRevenueCategoryId>
</cbt:SubscriptionRevenueCategoryId>
<cbt:RemoteAddress>89.1.3.0</cbt:RemoteAddress>
<cbt:HttpUserAgent>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36</cbt:HttpUserAgent>
<cbt:HttpEntryUrl>https://shop.yourcustomdomain.com/1584/?scope=checkout&cart=219783,219788,%20&x-source=christmas%20newsletter&x-reference=A5434A</cbt:HttpEntryUrl>
<cbt:HttpReferer>https://shop.yourcustomdomain.com/1584/?scope=checkout&cart=219783,219788,%20&x-source=christmas%20newsletter&x-reference=A5434A</cbt:HttpReferer>
<cbt:HttpAcceptLanguage>de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7</cbt:HttpAcceptLanguage>
<cbt:InternalCustomer>UUID-YOUR-UNIQUE-ID-1234-5678</cbt:InternalCustomer>
<cbt:CustomerConfirmationPageUrl>https://shop.yourcustomdomain.com/1584/p/169190319-Fxa6gRj3BHNgLUWr1234</cbt:CustomerConfirmationPageUrl>
<cbt:MerchantOfRecord>AG</cbt:MerchantOfRecord>
<cbt:Items>
<cbt:Item cbt:RunningNo="1">
<cbt:ProductId>219783</cbt:ProductId>
<cbt:ProductName>Film Now</cbt:ProductName>
<cbt:ProductNameExtension>Film Now for 12 months</cbt:ProductNameExtension>
<cbt:YourProductId>internal_id_219783</cbt:YourProductId>
<cbt:YourProductName>Film Now</cbt:YourProductName>
<cbt:InternalCategory>Film</cbt:InternalCategory>
<cbt:ClientId>1584</cbt:ClientId>
<cbt:Quantity>1</cbt:Quantity>
<cbt:YourCurrency>Euro</cbt:YourCurrency>
<cbt:YourCurrencyId>EUR</cbt:YourCurrencyId>
<cbt:ProfitCalculation>
<cbt:GrossRevenue>9.99</cbt:GrossRevenue>
<cbt:CollectedVat>1.60</cbt:CollectedVat>
<cbt:NetRevenue>8.39</cbt:NetRevenue>
<cbt:CbMarginPercentage>0</cbt:CbMarginPercentage>
<cbt:CbMarginFix>0</cbt:CbMarginFix>
<cbt:YourNetProfit>8.39</cbt:YourNetProfit>
<cbt:YourVat>1.60</cbt:YourVat>
<cbt:YourGrossProfit>9.99</cbt:YourGrossProfit>
</cbt:ProfitCalculation>
<cbt:YourPrice>
<cbt:ProductSinglePrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductSinglePrice>
<cbt:ProductTotalPrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductTotalPrice>
<cbt:TotalSinglePrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalSinglePrice>
<cbt:TotalTotalPrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalTotalPrice>
</cbt:YourPrice>
<cbt:CustomerPrice>
<cbt:ProductSinglePrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductSinglePrice>
<cbt:ProductTotalPrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductTotalPrice>
<cbt:TotalSinglePrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalSinglePrice>
<cbt:TotalTotalPrice>
<cbt:NetPrice>8.39</cbt:NetPrice>
<cbt:VatPrice>1.60</cbt:VatPrice>
<cbt:GrossPrice>9.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalTotalPrice>
</cbt:CustomerPrice>
<cbt:Deliveries />
<cbt:Additionals />
<cbt:ExtraParameters />
<cbt:RecurringBilling cbt:SubscriptionId="S29415062" cbt:SubscriptionItemRunningNo="1">
<cbt:SubscriptionEventtypeId>new</cbt:SubscriptionEventtypeId>
<cbt:OriginalPurchaseId>169190319</cbt:OriginalPurchaseId>
<cbt:OriginalPurchaseItemRunningNo>1</cbt:OriginalPurchaseItemRunningNo>
<cbt:IntervalNo>0</cbt:IntervalNo>
<cbt:GracePeriodDays>15</cbt:GracePeriodDays>
<cbt:StatusId>NEW</cbt:StatusId>
<cbt:Status>New</cbt:Status>
<cbt:ItemStatusId>ACT</cbt:ItemStatusId>
<cbt:ItemStatus>Active</cbt:ItemStatus>
<cbt:CancellationUrl>https://shop.yourcustomdomain.com/1584/crb/169190319-Fxa6gRj3BHNdPUWr1234-1</cbt:CancellationUrl>
<cbt:ChangePaymentSubscriptionUrl>https://shop.yourcustomdomain.com/1584/scp/S29415062-95Govpy9MrKF1234</cbt:ChangePaymentSubscriptionUrl>
<cbt:NextBillingProfit>
<cbt:GrossRevenue>9.99</cbt:GrossRevenue>
<cbt:CollectedVat>1.60</cbt:CollectedVat>
<cbt:NetRevenue>8.39</cbt:NetRevenue>
<cbt:CbMarginPercentage>0</cbt:CbMarginPercentage>
<cbt:CbMarginFix>0</cbt:CbMarginFix>
<cbt:YourNetProfit>8.39</cbt:YourNetProfit>
<cbt:YourVat>1.60</cbt:YourVat>
<cbt:YourGrossProfit>9.99</cbt:YourGrossProfit>
</cbt:NextBillingProfit>
<cbt:RenewalType>Automatic</cbt:RenewalType>
<cbt:IntervalLengthInMonths>12</cbt:IntervalLengthInMonths>
</cbt:RecurringBilling>
</cbt:Item>
<cbt:Item cbt:RunningNo="2">
<cbt:ProductId>219788</cbt:ProductId>
<cbt:ProductName>New Tunes</cbt:ProductName>
<cbt:ProductNameExtension>New Tunes</cbt:ProductNameExtension>
<cbt:YourProductId>internal_id_219788</cbt:YourProductId>
<cbt:YourProductName>New Tunes</cbt:YourProductName>
<cbt:ClientId>1584</cbt:ClientId>
<cbt:Quantity>1</cbt:Quantity>
<cbt:YourCurrency>Euro</cbt:YourCurrency>
<cbt:YourCurrencyId>EUR</cbt:YourCurrencyId>
<cbt:ProfitCalculation>
<cbt:GrossRevenue>5.99</cbt:GrossRevenue>
<cbt:CollectedVat>0.96</cbt:CollectedVat>
<cbt:NetRevenue>5.03</cbt:NetRevenue>
<cbt:CbMarginPercentage>0</cbt:CbMarginPercentage>
<cbt:CbMarginFix>0</cbt:CbMarginFix>
<cbt:YourNetProfit>5.03</cbt:YourNetProfit>
<cbt:YourVat>0.96</cbt:YourVat>
<cbt:YourGrossProfit>5.99</cbt:YourGrossProfit>
</cbt:ProfitCalculation>
<cbt:YourPrice>
<cbt:ProductSinglePrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductSinglePrice>
<cbt:ProductTotalPrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductTotalPrice>
<cbt:TotalSinglePrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalSinglePrice>
<cbt:TotalTotalPrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalTotalPrice>
</cbt:YourPrice>
<cbt:CustomerPrice>
<cbt:ProductSinglePrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductSinglePrice>
<cbt:ProductTotalPrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:ProductTotalPrice>
<cbt:TotalSinglePrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalSinglePrice>
<cbt:TotalTotalPrice>
<cbt:NetPrice>5.03</cbt:NetPrice>
<cbt:VatPrice>0.96</cbt:VatPrice>
<cbt:GrossPrice>5.99</cbt:GrossPrice>
<cbt:VatPercentage>19</cbt:VatPercentage>
</cbt:TotalTotalPrice>
</cbt:CustomerPrice>
<cbt:Deliveries />
<cbt:Additionals />
<cbt:ExtraParameters />
</cbt:Item>
</cbt:Items>
<cbt:ExtraParameters>
<cbt:ExtraParameter>
<cbt:Key>x-reference</cbt:Key>
<cbt:Value>A5434A</cbt:Value>
</cbt:ExtraParameter>
<cbt:ExtraParameter>
<cbt:Key>x-source</cbt:Key>
<cbt:Value>christmas newsletter</cbt:Value>
</cbt:ExtraParameter>
</cbt:ExtraParameters>
</cbn:Purchase>
</cbn:OnlinePaymentDeclined>