Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Custom payment creation

    General Discussion
    3
    7
    271
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      eddoperes last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • Rishabh-Webkul
        Rishabh-Webkul last edited by

        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

        1 Reply Last reply Reply Quote 0
        • E
          eddoperes last edited by

          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.

          A 1 Reply Last reply Reply Quote 0
          • A
            amit-webkul @eddoperes last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • E
              eddoperes last edited by

              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

              1 Reply Last reply Reply Quote 0
              • Rishabh-Webkul
                Rishabh-Webkul last edited by

                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

                E 1 Reply Last reply Reply Quote 0
                • E
                  eddoperes @Rishabh-Webkul last edited by

                  @Rishabh-Webkul
                  Ok

                  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

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post