Custom payment creation
-
Hi
I am trying to create a custom payment method in Bagisto. I used the Package Generator.
The package generated appears in the interface while executing a checkout, but I don't know how implement the custom payment as well. If I not implement getRedirectUrl the order is stored to the database but I didn't acomplish any payment. If I implement getRedirectUrl the order is not stored to the database but the redirection works and I think the payment would be implemented at this redirection. Any Ideas? -
Hello @eddoperes
Kindly go through the link and if you still face any issues kindly let us know.
https://bagisto.com/en/how-to-create-custom-payment-method-in-bagisto/
Thanks & Regards
-
I have already did it. I followed this tutorial. The custom skeleton appears. What I don't know is where to put the custom code.
-
Hello @eddoperes ,
After following the forwarded URL of the blog, I am sure you have created your payment package. And after following the whole steps of the blog, your payment method will appear on the checkout page.
If you are facing any issues while doing the same, please let us know so we can help you.
-
Hello
Yes, the payment method appeared, but with no code. I need to put the custom code... and I don't undestood how to do it
thanks
-
Hello @eddoperes
You can also take a reference from here for how to create a payment Method
Below is the Payment Method Tutorial, in which we show an example of a cyber source payment gateway extension.
I hope this will help you out
https://www.youtube.com/watch?v=vrCEoWZEkMs&t=134s&ab_channel=Bagisto
Thanks & Regards
-
I followed this tutorial.
The Cybersource payment appeared at the front end and I used it.
When I finallized the purchase the page is redirected, but no sale is registered.
I don't have real credentials to pay, but I thought the sale would be registered as pendent.
I didn't understand when the sale will be registered.
Thanks