Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Stripe destination options and preference #233

Closed

Conversation

HoyaBoya
Copy link
Contributor

This PR supports Stripe Destination on charges.

https://stripe.com/docs/connect/payments-fees#charging-through-the-platform

This feature has been added to ActiveMerchant 1.49, where as Spree is on 1.47, so this is a bit early to introduce until Spree is on a more recent version of AM. However, I would be much indebted for a general direction if this is the right way to expand upon Stripe configurations and options.

activemerchant/active_merchant@dd54288

screen shot 2015-07-23 at 3 30 48 pm

And the error from Stripe when I sent an invalid destination.

Gateway Error
  --- !ruby/object:ActiveMerchant::Billing::Response
params:
  error:
    type: invalid_request_error
    message: 'No such merchant: DESTINATION'
    param: destination
message: 'No such merchant: DESTINATION'
success: false
test: false
authorization: 
fraud_review: 
error_code: 
emv_authorization: 
avs_result:
  code: 
  message: 
  street_match: 
  postal_match: 
cvv_result:
  code: 
  message:

@HoyaBoya HoyaBoya force-pushed the feature/support_stripe_destination branch from bd904f3 to 7104e50 Compare July 23, 2015 20:51
@HoyaBoya HoyaBoya closed this Nov 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant