Forum

Thread tagged as: Discussion, FoxyCart, PayPal

Custom payment gateway

Hi!

I haven't used Perch shop app, but I think with a glance it looks great for small business that hasn't got all that much products or need for Magento type of solution.

Payments are ofcourse the big thing for this type of businesses and localization is important. Customers like to pay with their local banks.

Could you provide some key pointeris on how to start integrating custom payment gateways?

Is Paypal or Foxy app better platform to start? What are the key files to edit?

Karri Karttunen

Karri Karttunen 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Both the shop apps lean on the cart functionality provided by FoxyCart and PayPal. That's why they're specific to those solutions. To switch the gateway, you'd also need to implement a cart.

Very good, Drew.

So, that would be xx_cart.validation.php and callback for that. Is there something else to modify?

Rachel Andrew

Rachel Andrew 394 points
Perch Support

You'd need to implement a cart of your own. Both the existing shops use the third party shopping cart solutions, there isn't anything built into Perch that is a shopping cart. You could develop your own using the API of course but it's a bigger job than just modifying a file.