by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 09 03:46
    wilr closed #208
  • Jul 09 03:46
    wilr commented #208
  • Jul 09 03:45
    wilr closed #160
  • Jul 09 03:44

    wilr on master

    Fixed an issue where the month … Merge pull request #1 from lami… Merge pull request #222 from la… (compare)

  • Jul 09 03:44
    wilr closed #222
  • Jul 09 03:44

    wilr on master

    PaymentForm is not an OmniPay c… Merge pull request #217 from si… (compare)

  • Jul 09 03:44
    wilr closed #217
  • Jul 09 03:43

    wilr on wilr-patch-1

    (compare)

  • Jun 18 05:38
    wernerkrauss opened #221
  • Jun 15 06:44
    wernerkrauss commented #220
  • Jun 04 22:46
    nzphoenix opened #220
  • May 12 03:54
    barrykeenan edited #219
  • May 12 03:54
    barrykeenan opened #219
  • May 06 10:08
    mlewis-everley commented #211
  • May 05 20:29
    stefanorr commented #211
  • May 05 15:29
    mlewis-everley commented #211
  • May 02 02:57
    stefanorr commented #211
  • May 02 02:56
    stefanorr commented #211
  • May 01 13:45
    mlewis-everley commented #211
  • Apr 24 16:23
    mlewis-everley commented #211
Roman Schmid
@bummzack
eg. composer require omnipay/manual
Then you'd also have to add the gateway to Payment.allowed_gateways in your config.
See this documentation for an extensive writeup what you can/should configure: https://github.com/silverstripe/silverstripe-omnipay/blob/2/docs/en/Configuration.md
Mikael Norrgård
@MikaelNorrgard_twitter
Thank you for the fast answer. I will try them out and see if I get some orders in the admininterface. It's hard to know how things work in the beginning. So there is no payment gateway there already when you download the shop and omnipay module?
Roman Schmid
@bummzack
no, there's no payment gateway installed by default. We can't know what you're going to need :)
Mikael Norrgård
@MikaelNorrgard_twitter

Yeah that't true of course. :) So to use the dummy or manual gateway I just have to run the "composer require omnipay/manual (or /dummy) command and then add the text under here in a payment.yml file in mysite/_config/payment.yml?

Name: payment


YAML configuration for SilverStripe

See http://doc.silverstripe.org/framework/en/topics/configuration

Caution: Indentation through two spaces, not tabs

Payment:
allowed_gateways:

  • 'Dummy'
  • 'Manual'
Roman Schmid
@bummzack
Yeah, then you'd also need to run dev/build so that your configuration gets picked up
Mikael Norrgård
@MikaelNorrgard_twitter
Somehow I still get the same Server Error after I changed the config file and run the dev/build but now I get it when I press the "proceed to checkout" button. Can't find anything about it in the error log. I tried to download a new Silvershop-Core-2.0 and Silverstripe-Omnipay-2.0 module and the same thing happened.
Roman Schmid
@bummzack
what do you mean with download ? You did install with composer, right?
Mikael Norrgård
@MikaelNorrgard_twitter
I went to github and downloaded the zip files for the two modules and unpacked them in the root for the silverstripe project. I tried to run the composer installation commands too but nothing happened.
Roman Schmid
@bummzack
@MikaelNorrgard_twitter Sadly, it's not that simple. If you download the modules there, you just get the module without any dependencies. Resolving all the dependencies is exactly what packet-managers such like composer are built for. I strongy suggest you install composer on your machine and use it to install the modules. See here for instructions: https://getcomposer.org/download/
Morven Lewis-Everley
@mlewis-everley
@MikaelNorrgard_twitter If you are using the dummy gateway, make sure you read https://github.com/silverstripe/silverstripe-omnipay/blob/master/docs/en/TestPayments.md
Otherwise you might end up with a test form with no fields
Mikael Norrgård
@MikaelNorrgard_twitter

I was told it could be possible to do it that way but I guess that was wrong then. :) I installed silverstripe with some help some time ago and have only used the same project to practise until now.

Now I have got the two modules installed in the correct folder with composer but sadly it still don't work. But I guess it's something wrong with the database or something else now. It's not easy to learn new things. I had some brainfreeze before and installed the projects to the wrong folder. :D

Sander Hagenaars
@sanderha
@MikaelNorrgard_twitter By the way these lessons are very good for learning SilverStripe https://www.silverstripe.org/learn/lessons/v3/ :-)
Mikael Norrgård
@MikaelNorrgard_twitter
Thanks for the help. I did some progress today and now the project is up and running and the "Manual" payment gateway is working. :)
Mikael Norrgård
@MikaelNorrgard_twitter

This is maybe the wrong place to ask this question but, I am trying to integrate Unifaun to this project now.

I found something named Restful Service but that seems to be something old that you don't use anymore?
Any tips what I should do? :)

Roman Schmid
@bummzack
what is "unifaun"?
Mikael Norrgård
@MikaelNorrgard_twitter
It is a transport management system. I want to integrate a tracking function from there. I try to get the orders to an xml file in silvershop and then send it over to unifaun so the customers can track their orders from there.
Roman Schmid
@bummzack
I guess you can do that… I don't know what API they have, but best get familiar with that first
Hans Philip Eide
@hpeide
hi. anyone implemented Klarna Payment or Checkout with success? https://github.com/MyOnlineStore/omnipay-klarna-checkout or https://github.com/Subscribo/omnipay-klarna
Stuart Thornton
@ThorntonStuart_twitter
Hi all. Does anyone know if this package supports using Paypal iframes similar to those triggered by Paypal's own payment buttons? https://developer.paypal.com/docs/integration/web/
Stuart Thornton
@ThorntonStuart_twitter
Would help if I got the name right! Anyone know if this package can support Paypal Express In Context? Definitely supported by Omnipay
Sander Hagenaars
@sanderha
@ThorntonStuart_twitter I Havent tried any paypal packages with SS omnipay, but I've created a few quite custom ones, and with all the extension hooks defined in this module, its pretty easy to get things working
Morven Lewis-Everley
@mlewis-everley
Hey all, a bit of an odd one, I have a PayPal payment taken via Omnipay. The payment is captured in SilverStripe, but there is no record of it in PayPal
Also, the Payment is marked as captured, but the final message says: "This transaction couldn't be completed. Please redirect your customer to PayPal."
paypal-odd payment.png
Mohammadreza
@MohammaddReza
Hello, I'm from iran and i need to integrate the iranian payments system(I'll give the documents)
Is there anyone can help me?
Please tell me me about the wage
Roman Schmid
@bummzack
@MohammaddReza You should write an omnipay-gateway for the payment provider. Maybe try bounty-source if you don't want to do it yourself?
Morven Lewis-Everley
@mlewis-everley
@bummzack Is that when you offer to pay people with Bounty chocolate bars for their time?
Hans Philip Eide
@hpeide
Hi. I have som issues with Netaxpt gateway and payment with Vipps. Vipps is an mobile app payment service using Netaxpt. The issue occures on mobil devices where the browser is not opened after finalizing the payment inside the Vipps app. I have found that it is possible to configure Netaxpt Vipps service to continuously call an callback url until the request replies with an HTTP 200. But where do I find the callback url sent to Netaxpt gateway?
Sander Hagenaars
@sanderha
I believe a param is sent called something like "acceptUrl" or "successUrl"
not sure though
Hans Philip Eide
@hpeide

@sanderha Thanks. I think that is for the PurchaseService when it get a callback from the PaymentService:

(
                    [ID] => 101
                    [ClassName] => Payment
                    [RecordClassName] => Payment
                    [Status] => Created
                    [Gateway] => Netaxept
                    [MoneyAmount] => 94.5
                    [MoneyCurrency] => NOK
                    [OrderID] => 110
                    [Identifier] => 0029xxx....
                    [Created] => 2018-11-11 12:51:41
                    [LastEdited] => 2018-11-11 12:51:41
                    [SuccessUrl] => /min-konto/order/110
                    [FailureUrl] => /betaling/summary
)

I found that the Omipay ServiceResponse set callback urls like this:

[returnUrl] => http://vestbrygg.lo/paymentendpoint/0029xxx..../complete
[cancelUrl] => http://vestbrygg.lo/paymentendpoint/0029xxx..../cancel
[notifyUrl] => http://vestbrygg.lo/paymentendpoint/0029xxx..../notify
Hans Philip Eide
@hpeide
I have asked Netaxept about if I can use /paymentendpoint/ as is, or if I need to create a custom endpoint to handle the callback from the transaction (Hope not! :s ).
Sander Hagenaars
@sanderha
I'm not sure if this can help, but it is possible in the SS omnipay module to set a static endpoint, if that can be of any help?
Hans Philip Eide
@hpeide
Oki. Maybe. How does that work? Here is Netaxept docs about what I try to achieve: https://shop.nets.eu/web/partners/callback
Sander Hagenaars
@sanderha
Yes I think what you need is a static callback url. Have a look at this https://github.com/silverstripe/silverstripe-omnipay/blob/master/docs/en/StaticRoutes.md
Basically its a fixed endpoint for handling a callback
Hans Philip Eide
@hpeide
oki, sweet, yes that looks like what I need, thanks!
Aaron Cooper
@muppsy007
Hi all. Really high level question about this module: Is it really needed for hosted payment solutions? Reading through the docs it seems to be focussed on having self-hosted credit card forms. I'm wondering what it actually provides to a use case of someone using Stripe to collect payments and just bouncing back to a return URL
Morven Lewis-Everley
@mlewis-everley
@muppsy007 I use it for hosted payment forms and integrated server-to-server forms as well. I guess the unhelpful answer is "use it if you think it is the best solution for you"
I find it helpful in most cases because, for the most part, it simplifies the process of connecting to and working with third party payment gateways (and also stores a reference to the purchase in the SilverStripe DB in the form of a Payment)
Manuel Tomasir
@manueltomasir
Hey friends...trying to use the omnipay-square payment integration, and it appears to be deprecated for SS4 and Omnipay 3...anybody have any idea if an updated version of the omnipay-square integration is or is going to be built?
KavindaHarshana
@KavindaHarshana
this is a part of my code
$payment->write();
$response = ServiceFactory::create()
->getService($payment, ServiceFactory::INTENT_PAYMENT)
->initiate($form->getData());
return $response->redirectOrRespond();
this is not redirects payment page. can you please help me ?
I use Stripe gateway