Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Vantiv eCommerce VantivSDK

🎯
Focusing
Block or report user

Report or block VantivSDK

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@VantivSDK
VantivSDK / hotHotConfigurations
Created Jan 9, 2019
Configuration parameters for Hot-Hot feature
View hotHotConfigurations
| Name | Example | Description |
| ----------------------- | --------| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| multiSite | false | Specifies if multi-site feature is enabled. Contact your RM to determine if you are eligible. Will cause transaction failures if set to true without Worldpay approval. |
| printMultiSiteDebug | false | If true and multiSite is true, will print debug messages on multi-site handling |
| multiSiteErrorThreshold | 5 | If multiSite is true, specifies the number of consecutive communication errors before switches to alternate site
@VantivSDK
VantivSDK / Ruby Retrieve ARN Activity Example
Created Nov 15, 2018
Ruby Retrieve ARN Activity Example
View Ruby Retrieve ARN Activity Example
require 'CnpChargeback'
include CnpChargeback
response= ChargebackRetrieval.new.get_chargebacks_by_arn(arn: "1111111111")
puts response.transactionId
@VantivSDK
VantivSDK / Ruby Retrieve Card Activity Example
Created Nov 15, 2018
Ruby Retrieve Card Activity Example
View Ruby Retrieve Card Activity Example
require 'CnpChargeback'
include CnpChargeback
response= ChargebackRetrieval.new.get_chargebacks_by_card_number(card_number: "1111000011110000", expiration_date: "0118")
puts response.transactionId
@VantivSDK
VantivSDK / Ruby Retrieve Case Activity example
Created Nov 15, 2018
Ruby Retrieve Case Activity example
View Ruby Retrieve Case Activity example
require 'CnpChargeback'
include CnpChargeback
response= ChargebackRetrieval.new.get_chargeback_by_case_id(case_id: "1333078000")
puts response.transactionId
@VantivSDK
VantivSDK / Ruby Retrieve Actionable Chargebacks example
Created Nov 15, 2018
Ruby Retrieve Actionable Chargebacks example
View Ruby Retrieve Actionable Chargebacks example
require 'CnpChargeback'
include CnpChargeback
response= ChargebackRetrieval.new.get_actionable_chargebacks(actionable: "true")
puts response.transactionId
@VantivSDK
VantivSDK / Ruby Retrieve All chargebacks for Activity Date example
Created Nov 15, 2018
Ruby Retrieve All chargebacks for Activity Date example
View Ruby Retrieve All chargebacks for Activity Date example
require 'CnpChargeback'
include CnpChargeback
response= ChargebackRetrieval.new.get_chargebacks_by_date(activity_date: "2018-01-01")
puts response.transactionId
@VantivSDK
VantivSDK / Ruby Respond to a Retrieval Example
Created Nov 15, 2018
Ruby Respond to a Retrieval Example
View Ruby Respond to a Retrieval Example
require 'CnpChargeback'
include CnpChargeback
response = ChargebackUpdate.new.respond_to_retrieval_request(case_id: 10000, note: "Test note")
puts response.transactionId
View Ruby Represent Example
require 'CnpChargeback'
include CnpChargeback
response = ChargebackUpdate.new.represent_case(case_id: 10000, note: "Test note", representment_amount: 12000)
puts response.transactionId
@VantivSDK
VantivSDK / Ruby Assume Liability Example
Created Nov 15, 2018
Ruby Assume Liability Example
View Ruby Assume Liability Example
require 'CnpChargeback'
include CnpChargeback
response = ChargebackUpdate.new.assume_liability(case_id: 10000, note: "Test note")
puts response.transactionId
@VantivSDK
VantivSDK / Ruby Add Note to Case Example
Created Nov 15, 2018
Ruby Add Note to Case Example
View Ruby Add Note to Case Example
require 'CnpChargeback'
include CnpChargeback
response = ChargebackUpdate.new.add_note_to_case(case_id: 10000, note: "Test note")
puts response.transactionId
You can’t perform that action at this time.