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

Paystack Subscription Creation - Recurring Payment #175

Open
balakumarcgvak opened this issue Jul 24, 2023 · 3 comments
Open

Paystack Subscription Creation - Recurring Payment #175

balakumarcgvak opened this issue Jul 24, 2023 · 3 comments

Comments

@balakumarcgvak
Copy link

Hi Team,
We have an individual Paystack account for our website subscription plan; we also created the plan in our "Paystack Dashboard" and properly configured the plan code in the "Payment Functionalities", After the payment confirmation, we create a subscription using the customer details with the plan code.

$paymentDetails = Paystack::getPaymentData();
$data=array(
"customer" =>$paymentDetails['data']['customer']['customer_code'],
"plan"=> "PLN_dz6e6epbra53as8",
);
print_r($data);
// Create the subscription
$response = Paystack::createSubscription($data);
We got some response errors in the subscription creation.
"Client error: POST https://api.paystack.co/subscription resulted in a 404 Not Found response: {"status":false,"message":"A customer with the specified email or code was not found"}"

Pleas help on this issue.

@balakumarcgvak
Copy link
Author

Screenshot (260)
Screenshot (261)
Screenshot (259)

@balakumarcgvak
Copy link
Author

HI @unicodeveloper ,
I need solution for my issue please reivew my request and respond to me.

Thankyou
Balakumar

@fuad4web
Copy link

Am also having issue with exact this
How are you guys able to resolve this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants