Add Registrar client ID to Braintree payment info

The client ID is passed as the "customer ID" to Braintree. In order for
this to work, someone needs to go into the Braintree website beforehand,
click on "New Customer" link, and create the customer record with a
matching ID.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=116769955
This commit is contained in:
jart 2016-03-09 09:09:46 -08:00 committed by Ben McIlwain
parent dd633c9e72
commit 3eef39126d
5 changed files with 52 additions and 0 deletions

View file

@ -28,6 +28,7 @@ import com.google.domain.registry.request.RequestModule;
import com.google.domain.registry.request.RequestScope;
import com.google.domain.registry.ui.server.registrar.RegistrarPaymentAction;
import com.google.domain.registry.ui.server.registrar.RegistrarPaymentSetupAction;
import com.google.domain.registry.ui.server.registrar.RegistrarUserModule;
import com.google.domain.registry.whois.WhoisHttpServer;
import com.google.domain.registry.whois.WhoisModule;
import com.google.domain.registry.whois.WhoisServer;
@ -39,6 +40,7 @@ import dagger.Subcomponent;
@Subcomponent(
modules = {
RdapModule.class,
RegistrarUserModule.class,
RequestModule.class,
WhoisModule.class,
})