Works with (and requires) Commerce Braintree to integrate Braintree JS client-side encryption into credit card forms.
The hooks used to create the on-site payment method are similar to Commerce Authnet, but this module collects Braintree account settings and then loads in the Braintree JS javascript into the page on the payment pane.
The form API gets a little mangled by Braintree JS (see commerce_braintree_js_submit_form_submit
) so raw $_POST
data does get used in place of $form_state['values']
to retrieve the encrypted values from the form submission.
The Braintree server-side API is then loaded via Commerce Braintree, and used to send the encrypted data to Braintree's servers.
Installation instructions are available on the project page:
Project: https://drupal.org/sandbox/tmsimont/2092519
git: git clone --branch 7.x-1.x tmsimont@git.drupal.org:sandbox/tmsimont/2092519.git
Comments
Comment #1
bojanz CreditAttribution: bojanz commentedShouldn't this live inside the Commerce Braintree project?
Comment #2
tmsimont CreditAttribution: tmsimont commentedprobably -- i just want to get some more eyes on this and some more involvement. i don't mind where it ends up
Comment #3
PA robot CreditAttribution: PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #4
AjitSAutomated review:
No issues reported by pareview.
Manual review:
because when trying to directly enable the module with drush
drush en commerce_braintree_js
, it gives the following errors:The release history couldn't be found because they are a part of commerce module and cannot be downloaded separately, hence the error.
Comment #5
PA robot CreditAttribution: PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application (see also the project application workflow).
I'm a robot and this is an automated message from Project Applications Scraper.