#Setup Square Payment Plugin
12 messages · Page 1 of 1 (latest)
Hello @brazen steeple you can check out RSC labs plugin for Square Payments here: https://github.com/RSC-Labs/medusa-square-payment
seriously? 😭 😭
Haven't used it myself, but a quick browse on the internet found that, have a look
most functions are not implemented in that package, it cannot be used actually.
but thanks, it's a nice starting point to write my custom provider.
Yeah, you are right. Just found this, seems more complete, you could try copy pasting and giving it a go in your project: http://github.com/filenamedotexe/troy-bbq-new/blob/main/apps/medusa-backend/src/modules/payment/providers/square/index.ts
thank you so much. really cool search skills there actually. i tried for a couple hours and couldnt find anything. I'll try this
Haha thanks, part of the seasoned dev toolkit 😅
@long sleet Square client does not have payment initiate functionality. theres only payment.create()
but medusa payment provider asks for paymentService initatePayment function
https://pastebin.com/3qgNemvH
here you go, a rewrite with no errors for me (medusa v2.10.3)
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Out of curiosity @quick ocean how do you usually search for modules / plugins in GitHub? You seem pretty good at it 😁