Hello ,
1- In the checkout page, if I click checkout ( the green button ) its show error, but when I click PayPal checkout button its work good. ( error is: The given data was invalid + Payment details are missing )
2- After I pay for the subscription there is no invoice created, how to solve that?
3- How the cron for renewal works? do I need to add anything in the cronjob?
4- Which hooks are used for the following cases:
a- after subscription end date and user not paid for renewal
b- after user renewal success
5- When updating a plan I got: Update Gateway plan Failed Business error
6- I created a new plan with 0 trial day, but when I subscribe its give 7 days trial!
Waiting for your reply
Best regards
2 Answers
Hello,
Please find our answers inline:
1- In the checkout page, if I click checkout ( the green button ) its show error, but when I click PayPal checkout button its work good. ( error is: The given data was invalid + Payment details are missing )
Yes you need to checkout using Paypal first
2- After I pay for the subscription there is no invoice created, how to solve that?
Invoices are generated using webhook calls, so you need to make sure hooks are configured correctly.
3- How the cron for renewal works? do I need to add anything in the cronjob?
renewals and cancelations are all handled by webhook calls
4- Which hooks are used for the following cases:
a- after subscription end date and user not paid for renewal - after user renewal success renewals and cancelations are all handled by webhook calls
a- after subscription end date and user not paid for renewal - after user renewal success renewals and cancelations are all handled by webhook calls
'PAYMENT.SALE.PENDING' => \Corals\Modules\Payment\PayPal\Job\HandleInvoiceCreated::class,5- When updating a plan I got: Update Gateway plan Failed Business error Its always recommended to cancel plan and create a new one as payment gateways are not fan of plans updates 6- I created a new plan with 0 trial day, but when I subscribe its give 7 days trial! this cannot happen, its probably old data
'PAYMENT.SALE.COMPLETED' => \Corals\Modules\Payment\PayPal\Job\HandleInvoicePaymentSucceeded::class,
'PAYMENT.SALE.DENIED' => \Corals\Modules\Payment\PayPal\Job\HandleInvoicePaymentFailed::class,
'BILLING.SUBSCRIPTION.CANCELLED' => \Corals\Modules\Payment\PayPal\Job\HandleCustomerSubscriptionDeleted::class,
Please login or Register to submit your answer