Last active
December 1, 2017 12:15
-
-
Save dwainm/6cb53249e9eac0c1f0376e863a932a06 to your computer and use it in GitHub Desktop.
Update WooCommerce Subscription method to PayFast
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
<?php | |
update_post_meta( $subscription_id, '_payfast_subscription_token', $token ); | |
update_post_meta( $subscription_id, '_payment_method', 'payfast' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment