Created
April 8, 2013 13:36
-
-
Save pollingj/5336799 to your computer and use it in GitHub Desktop.
Gocardless Preauth
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return GoCardless.new_pre_authorization_url amount: Settings.max_variable_direct_debit_amount, name: order.name, interval_unit: "month", interval_length: 12, state: member.id, | |
user: { | |
first_name: member.first_name, | |
last_name: member.last_name, | |
email: member.email, | |
billing_address1: member.correspondence_address_line_1, | |
billing_address2: member.correspondence_address_line_2, | |
billing_town: member.correspondence_address_city, | |
billing_postcode: member.correspondence_address_postcode | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment