myaliasname
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Saving CC InfoI got the following suggestion for PHP file /wp-content/plugins/woocommerce-gateway-stripe/includes/class-wc-gateway-stripe.php but it removed ‘pay with CC’ option and deactivated the ApplePay button. Maybe someone can take a peek.
public function save_payment_method_checkbox() {
printf(
‘<p class=”form-row woocommerce-SavedPaymentMethods-saveNew”>
<input id=”wc-%1$s-new-payment-method” name=”wc-%1$s-new-payment-method” type=”checkbox” checked=”checked” value=”true” style=”width:auto;” />
<label for=”wc-%1$s-new-payment-method” style=”display:inline;”>%2$s</label>
</p>’,
esc_attr( $this->id ),
esc_html__( ‘Save to account’, ‘woocommerce’ )
);
}Forum: Plugins
In reply to: [Stripe Payment Gateway WooCommerce Addon] Apple PayI appended the code to the end of the file, but it ended up disabling the entire site. I restored the file then appended it to the beginning, which removed ‘pay with CC’ option and deactivated the ApplePay button. Am I doing something wrong?
Forum: Plugins
In reply to: [Stripe Payment Gateway WooCommerce Addon] Apple PayWhat if I buy you one? Would it be pretty simple? 🙂 If not, would you know a snippet of code that could help solve the following…
Storing credit card information is critical to conveniently billing the client without the hassle of taking payment each week. Up until now I’ve been using your plugin gateway to store CC info via Stripe without prompting the customer.
I am activating Woocommerce Stripe Gateway so that customers can pay via ApplePay, but when enabled, prompts the customer to check a box in order save credit card info on stripe servers. I want this checkbox to just be automatically checked and hidden because this is a part of our terms that they already have checked. Is there something I could do to check the box and hide it?
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Saving CC InfoThanks! Any code snippets I could use to enable the checkbox and hide it?