Kiran
Forum Replies Created
-
AuthorPosts
-
Hello,
It will be in upcoming release of Pricing Manager v2.5.0.14 soon.
Thanks,
KiranHi Alex,
I checked and it looks like AffiliateWP v2.5.x has some major changes and some hooks are deprecated. We are updating our Invoicing AffiliateWP plugin to nake compatible with AffiliateWP v2.5.x.
Regards,
KiranHi Manfred,
To test recurring payment you can create one short term recurring package(item). Ex: 3 days or 7 days.
Kiran
Hi Larraine,
Next release of Pricing Manager probably within first week on May.
Regards,
KiranHello Naomi,
For First Data Payment Gateway it needs following data.
– Store Name:
This is the ID of the store that was given to you by First Data. For example : 10123456789– Shared Secret:
This is the shared secret provided to you by First Data.– Production URL:
When you are ready to go into production, please contact First Data and you will be provided with the live production URL.Regards,
KiranHi spiritualcompass,
We have already implemented skipping invoices for free packages. The next release soon within next week.
Thanks for patience.
Regards,
KiranHi Misty,
Try replacing
<div class="wpinv-receipt-message"><?php _e( 'Thank you!', 'invoicing' ); ?></div>
with https://wpinvoicing.com/support/topic/overwrite-templates/#post-4384 script in file /themes/YOUR-CURRENT-THEME/invoicing/wpinv-invoice-receipt.php
Kiran
<?php $post_type = ''; foreach ( $cart_items as $key => $cart_item ) { if ( ! empty( $cart_item['id'] ) && wpinv_get_item_type( $cart_item['id'] ) == 'package' && ( $package_id = get_post_meta( $cart_item['id'], '_wpinv_custom_id', true ) ) ) { $post_type = geodir_pricing_package_post_type( $package_id ); if ( $post_type ) { break; } } } if ( $post_type == 'gd_apartments' ) { $message = __( 'Thank you!', 'invoicing' ); // Message for gd_apartments } elseif ( $post_type == 'gd_business' ) { $message = __( 'Thank you!', 'invoicing' ); // Message for gd_business } else { $message = __( 'Thank you!', 'invoicing' ); // Message for other } ?> <div class="wpinv-receipt-message"><?php echo $message; ?></div>
Hi Misty,
Try following PHP snippet do disable pre bank transfer gateway for expect one specific invoice item.
/** * Filter payment gateways on checkout page. */ function wpi_snippet_200320_payment_gateways_on_cart( $gateways = array() ) { $invoice = wpinv_get_invoice( 0, true ); if ( ! empty( $invoice ) && ( $items = $invoice->get_items() ) ) { foreach ( $items as $key => $item ) { if ( ! empty( $item ) && ! empty( $item['id'] ) && $item['id'] == 84 ) { // 84 is Item ID from Invoicing > Items > ID } else { if ( isset( $gateways['bank_transfer'] ) ) { unset( $gateways['bank_transfer'] ); // Unset gateway } } } } return $gateways; } add_filter( 'wpinv_payment_gateways_on_cart', 'wpi_snippet_200320_payment_gateways_on_cart', 20, 1 );
Thanks,
KiranHi Ben,
“No payment gateway active” error indicates that either there is no payment gateway is active or payment for item(package) does not supported by gateways.
I checked and you have all items(packages) are recurring. Recurring payment support is not implemented yet in “eWay” payment gateway. We are working to implement recurring payment support in “eWay” payment gateway.
Meantime try items(packages) without recurring option active.
Thanks for your patience.
Regards,
KiranHi Misty,
On the functions file I just need to change the wording on the button. It says “Proceed to pay” and I need to change it to just “Proceed”.
You can change checkout button label via translation that @guust suggested or you can do it by using following PHP snippet.
/** * Change checkout button label. */ function wpi_snippet_200319_checkout_button_purchase( $button ) { $search = 'Proceed to Pay'; // Current button label $replace = 'Proceed'; // New button label $button = str_replace( __( $search, 'invoicing' ), __( $replace, 'invoicing' ), $button ); return $button; } add_filter( 'wpinv_checkout_button_purchase', 'wpi_snippet_200319_checkout_button_purchase', 20, 1 );
===
Another question for wpinv-invoice-receipt.php. Is it possible in this to pull in the product_type (CPT) and display a different message depending on the CPT?
Can you clarify with example that how you want so i can help in this?
Thanks,
KiranHello Misty,
– Copy file wpinv-invoice-receipt.php from /plugins/invoicing/templates/ into /themes/YOUR-CURRENT-THEME/invoicing/
– Copy file wpinv-email-invoice-details.php from /plugins/invoicing/templates/emails/ into /themes/YOUR-CURRENT-THEME/invoicing/emails/You can edit files copied under /themes/YOUR-CURRENT-THEME/invoicing/.
– includes/wpinv-template-functions.php is a plugin core file and core files should not be modified otherwise it may break core functionality. Instead you can use hooks to add customization.
Let us know what you need to change via includes/wpinv-template-functions.php file so we can help you to add your customization.Thanks,
KiranThis reply has been marked as private.This reply has been marked as private.Hi laurence,
This indicates customer creation failed at Stripe via API.
Try again after enabling debug log from wp-config.php file to log reason behind this customer creation error.
Kiran
-
AuthorPosts