Skip to content

Commit

Permalink
Create custom-developer-id.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaseWiseman authored Nov 11, 2020
1 parent 2e132a5 commit fb72476
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions woocommerce-gateway-cybersource/custom-developer-id.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php // only copy this line if needed

/**
* Add a custom developer ID for API requests.
*
* Requires Cybersource v2.3.0+
*/
add_filter( 'wc_cybersource_api_developer_id', function() {

return 'your-developer-id'; // replace with the ID given to you by Cybersource

} );

0 comments on commit fb72476

Please sign in to comment.