Skip to content

unable to proceed for payment from checkout page. #204

@Shivamddeveloper

Description

@Shivamddeveloper

image-20240307-213511

i am using a filter to modify the existing form request data, and i have also work on sort of subscription intergration this need future recurring payment so with the help of your hook i am trying to modify the form request data to make it subscription type. this will get a token from the payment response through webhook. and we are using this token for the subscription recurring transaction.

this whole intergration is working properly in the sandbox or test mode but when payfast payment method used in live mode , we are getting error like merchant cannot access this type of payment right now. which are showing in above screenshot also.

i have used a given filter i.e

add_filter( 'woocommerce_gateway_payfast_payment_data_to_send', 'wps_sfw_payfast_payment_data_to_send_modify' 10, 2 );
function wps_sfw_payfast_payment_data_to_send_modify( $args, $order_id ) {
$args['subscription_type'] = '2';

		return $args;

}

so please provide me solution how can this issue will be solved .

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions