-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
12b8835
commit 702b7e4
Showing
18 changed files
with
2,542 additions
and
20 deletions.
There are no files selected for viewing
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
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
32 changes: 32 additions & 0 deletions
32
...tes/all/modules/contrib/commerce_paypal/modules/checkout/commerce_paypal_checkout.api.php
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* Documents hooks provided by the Commerce PayPal Checkout module. | ||
*/ | ||
|
||
/** | ||
* Allows modules to alter the request body before the create order API call is | ||
* made to PayPal. | ||
* | ||
* @param array $request_body | ||
* The request body. | ||
* @param $order | ||
* The order. | ||
*/ | ||
function hook_commerce_paypal_checkout_create_order_request_alter(&$request_body, $order) { | ||
// No example. | ||
} | ||
|
||
/** | ||
* Allows modules to alter the request body before the update order API call is | ||
* made to PayPal. | ||
* | ||
* @param array $request_body | ||
* The request body. | ||
* @param $order | ||
* The order. | ||
*/ | ||
function hook_commerce_paypal_checkout_update_order_request_alter(&$request_body, $order) { | ||
// No example. | ||
} |
18 changes: 18 additions & 0 deletions
18
.../sites/all/modules/contrib/commerce_paypal/modules/checkout/commerce_paypal_checkout.info
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name = PayPal Checkout | ||
description = Implements PayPal Checkout in Drupal Commerce checkout. | ||
package = Commerce (PayPal) | ||
dependencies[] = commerce | ||
dependencies[] = commerce_ui | ||
dependencies[] = commerce_payment | ||
dependencies[] = commerce_order | ||
core = 7.x | ||
|
||
; PayPal library files. | ||
files[] = lib/PayPalCheckoutClient.php | ||
files[] = lib/PayPalCheckoutExceptions.php | ||
|
||
; Information added by Drupal.org packaging script on 2019-05-06 | ||
version = "7.x-2.7" | ||
core = "7.x" | ||
project = "commerce_paypal" | ||
datestamp = "1557130694" |
13 changes: 13 additions & 0 deletions
13
...tes/all/modules/contrib/commerce_paypal/modules/checkout/commerce_paypal_checkout.install
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
/** | ||
* @file | ||
* Remove variables required by Commerce PayPal Checkout. | ||
*/ | ||
|
||
/** | ||
* Implements hook_uninstall(). | ||
*/ | ||
function commerce_paypal_checkout_uninstall() { | ||
variable_del('commerce_paypal_checkout_review_embedded_panes'); | ||
} |
Oops, something went wrong.