Hi,
I am getting like this “Warning: Cannot modify header information – headers already sent by (output started at /usr/www/users/…../wp-content/themes/astra/header.php:17) in /usr/www/users/…../wp-content/plugins/wc-peach-payments-gateway/woocommerce-gateway-peach-payments.php on line 78”
How can I solve it. Not that I am latest version of this plugin and astra theme.
Since updating to 3.2.2 we have been experiencing several critical uncaught errors, we have had to roll back to 3.2.1
]]>We have a need in our application for orders to be able to have items substituted, removed or added to an order as needed. A mechanism to be able to do a PA on the initial payment amount and then finalise once a pre-selected admin defined order status is reached would be amazing.
Ideally it would then also allow in-order refunds via RV (rather than RF for DB payments)
]]>Hi there
I’d like to request first class support for WooGraphQL – it’s a popular option for using graphql with woocommerce and I was able to make peach payments (version 2 anyway, haven’t tried 3) work with it with a few additions to my functions.php
But there is still some flakiness and it would be great to have “official” support as some of it is a bit of a hack as I need to artificially add stuff to $_POST in places where it doesn’t feel right
// Add saved cards to graphql
register_graphql_object_type('PeachPaymentsSavedCard', [
'description' => __('Describe the Type and what it represents', 'wp-graphql'),
'fields' => [
'payment_id' => [
'type' => 'String',
'description' => __('Card registration ID', 'wp-graphql'),
],
'active_card' => [
'type' => 'String',
'description' => __('Last 4 digits', 'wp-graphql'),
],
'exp_month' => [
'type' => 'String',
'description' => __('Expiry Month', 'wp-graphql'),
],
'exp_year' => [
'type' => 'String',
'description' => __('Expiry Year', 'wp-graphql'),
],
'brand' => [
'type' => 'string',
'description' => __('Card brand', 'wp-graphql'),
],
],
]);
add_action( 'graphql_register_types', function() {
register_graphql_field( 'Customer', 'peachPaymentsSavedCards', [
'type' => [ 'list_of' => 'PeachPaymentsSavedCard' ],
'description' => __( 'Saved cards from Peach Payments', 'wp-graphql' ),
'resolve' => function( $customer ) {
$credit_cards = get_user_meta( $customer->databaseId, '_peach_payment_id', false );
return $credit_cards ? $credit_cards : array();
}
] );
} );
add_action( 'graphql_woocommerce_before_checkout', function() {
$_POST['peach_payment_id'] = 'dontsave';
} );
add_filter( 'graphql_peach-payments_process_payment_args', function ($args) {
$peach_payment_id = get_post_meta($args[0], '_peach_payment_id', true);
if (isset($peach_payment_id))
{
$_POST['peach_payment_id'] = $peach_payment_id;
} else
{
$_POST['peach_payment_id'] = 'dontsave';
}
return $args;
});
This is the current code I have in my theme, and after doing a checkout mutation I redirect to the redirect url for payment/completion
]]>With the latest release of peach payments 19hrs ago from this being created, I can no longer access the back end of my site, as i get a critical error message.
I checked the server logs and found this error:
Parse error: syntax error, unexpected 'add_action' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /www/cs00355_254/public/wp-content/plugins/wc-peach-payments-gateway/woocommerce-gateway-peach-payments.php on line 1602
I subseqiently deleted the plugin and re-downloaded and tried to reactivate but am not able to as the activation is triggering a fatal error as well.
]]>Good day Support,
The 2.0.4 version of the plugin is not working with the latest version of WP. Payments are not processing.
]]>Hi,
Is it possible to send a payment request to a customer? Ie email or WhatsApp a link upon placing an order that will direct the customer to the payments page for that order at a later date?
Thanks
Hi Hi
Is it possible to have multiple subscriptions in your cart upon checkout? I’m trying this but it says it’s not possible: https://docs.woocommerce.com/document/subscriptions/payment-gateways/
If it is not possible upon checkout. Do you perhaps know if a user can still own multiple subsriptions, but only checkout with one at a time?
Thanks
]]>Hi,
Is there a changelog for this plugin? Currently running V 1.3.5 and wanted to check what changes have been made before updating to V 2.0.1 to avoid any issues.
FYI Mastercard is not spelled Master Card.
https://cirrus-prm.s3.amazonaws.com/Screenshot-2020-02-24-at-14.49.32.png