Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to proceed for payment from checkout page. #204

Open
Shivamddeveloper opened this issue Mar 12, 2024 · 1 comment
Open

unable to proceed for payment from checkout page. #204

Shivamddeveloper opened this issue Mar 12, 2024 · 1 comment
Labels
priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: bug The issue is a confirmed bug.

Comments

@Shivamddeveloper
Copy link

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 .

@Shivamddeveloper Shivamddeveloper added the type: bug The issue is a confirmed bug. label Mar 12, 2024
@vikrampm1 vikrampm1 added the priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. label Mar 12, 2024
@andrewlimaza
Copy link

This may happen if you're using your merchant account email as the payment email. You cannot pay yourself.

Are you wanting a tokenization subscription or a "standard" subscription that PayFast will bill every month on the set date for example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low The issue/PR is low priority—not many people are affected or there’s a workaround, etc. type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

3 participants