View more context

 

r3v3rb

@kinglozzer did you manually handle stripe.js and the javascript to create the paymentIntents?

harvs1789uk

http://demo.silvershop.io CMS credentials anyone?

Can't find these documented anywhere on the demo site, http://silvershop.io, GitHub etc or anywhere? Wanting to demo the CMS features to someone to sell them on it

harvs1789uk

@wilrthat was the very first thing I tried, but it gives me:

> The provided details don't seem to be correct. Please try again.

harvs1789uk

Anyway, not to worry now as I have downloaded an installed it locally and started playing around.

So prepare yourself for some further questioning 😂

What timezone are you in out of interest? working on a 48 hour Hackathon project, I am trying to wow my colleagues with some speedy SilverStripe/SilverShop development, might need a bit of help in the next 36h or so

wilr

NZDT for me but got 2 kids under 2 so work is pretty random hours!

harvs1789uk

Anyone able to offer me a bit of support setting up PayPal with SilverShop? I think I have followed all the documentation, but can't get it to work....this I have some composer issues

harvs1789uk

The latest version of silvershop/core requires:

"silverstripe/silverstripe-omnipay": "^[email protected]"

That version of silverstripe-omnipay requires:

"omnipay/common": "^2.4"

But apparently composer require omnipay/paypal needs omnipay/commonversion 3 or higher....so I am stuck not being able to include the paypal parts via composer, as omnipay/common is not a high enough version...?

null

Try adding this to your project's composer.json? omnipay/common": "3.0.2 as 2.5.1"

wilr

hmm https://github.com/silverstripe/silverstripe-omnipay/blob/master/composer.json requires omnipay 3. Try check what version of core you’re using.

Show 1 attachment(s)
GitHub  
silverstripe/silverstripe-omnipay

SilverStripe integration with Omnipay PHP payments library. - silverstripe/silverstripe-omnipay

Hide attachment content
harvs1789uk

@wilr - I installed SilverShop using the one liner composer install shown on http://www.silvershop.io/download - composer require -d myshop "silvershop/core"

This is the versioning info for core:

  1. harvs:honesty-box-portal joeharvey$ composer show silvershop/core
  2. name : silvershop/core
  3. descrip. : Provides an ecommerce product catalog, shopping cart, and order management system
  4. keywords : ecommerce, online shopping, ordering, payment, shop, shopping cart, silverstripe
  5. versions : * dev-master, 3.x-dev
  6. type : silverstripe-vendormodule
  7.  
  8. requires
  9. silvershop/silverstripe-listsorter ^3@dev
  10. silvershop/silverstripe-sqlquerylist ^2@dev
  11. silverstripe/asset-admin *
  12. silverstripe/cms ^4
  13. silverstripe/silverstripe-omnipay ^3@dev
kinglozzer

@harvs1789uk We had a similar issue recently, IIRC we had to remove silverstripe-onmipay (or in your case silvershop), then add in the omnipay/common + omnipay/paypal requirements, composer update, then re-add the SilverStripe modules

harvs1789uk

and this is the output from composer for silverstripe-omnipay

  1. harvs:honesty-box-portal joeharvey$ composer show silverstripe/silverstripe-omnipay
  2. name : silverstripe/silverstripe-omnipay
  3. descrip. : SilverStripe Omnipay Payment Module
  4. keywords : omnipay, payment, silverstripe
  5. versions : * 3.0.0-alpha2
  6. type : silverstripe-vendormodule
  7.  
  8. requires
  9. omnipay/common ^2.4
  10. silverstripe/config ^1
  11. silverstripe/framework ^4