Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Payments and Payment Gateway / APIs /

This is a forum for discussing SilverStripe can-do payments and their APIs / Gateways.

Moderators: martimiz, Sean, Normann, biapar, Willr, Ingo, swaiba, simon_w

Stand-alone payment module


Reply


20 Posts   8966 Views

Avatar
Normann

Forum Moderator, 12 Posts

24 May 2010 at 12:37pm

Edited: 24/05/2010 1:27pm

Hi DsX,

"If using payments only are there any additional tax or shipping settings?"
--- No, "tax or shipping" is purely split into ecommerce modules (I think the other ecommerce related modules deal with that, like ProductModifier class, etc). The payment only focus on payment methods and their gateways, and how generic it could be to hook up with any places where need a payment.

Cheers.

Avatar
DsX

Community Member, 178 Posts

24 May 2010 at 12:57pm

wow... so there isn't really an ecommerce option for silverstripe at the moment that will have an upgrade path.
I guess I will try the 2.0 branch with ecommerce as I am required to have 2 cart groups in my next project.
I have ecommerce (latest trunk) installed and running with 2.4 currently, seems to work but I am early in testing.

Avatar
Normann

Forum Moderator, 12 Posts

24 May 2010 at 1:35pm

@DsX,

"I have ecommerce (latest trunk) installed and running with 2.4 currently"
--- glad to know. :)

Avatar
Mat Weir

Community Member, 33 Posts

25 May 2010 at 9:00am

@DsX,

The first error I got whilst trying to use ecommerce module with 2.4 was in completing the checkout:

[Notice] Object of class Money could not be converted to double

Did you get this error? Did you solve it?

Cheers

Avatar
Mat Weir

Community Member, 33 Posts

25 May 2010 at 1:14pm

Hi Normann,

I checked out the payment-test module. Do you have any code implementation examples of PXPay?

Cheers

Avatar
DsX

Community Member, 178 Posts

27 May 2010 at 8:38am

yes, I got the same error...
I was running the payment trunk version.
I am now testing the V2 branch...
will post if that works for me.

Avatar
DsX

Community Member, 178 Posts

27 May 2010 at 9:00am

Update.
V2 is working in SS2.4 with the latest trunk of e-commerce.
I have been able to purchase an item with PayPal (sandbox account) and return to site (well almost I got an error due to my local server not having email configured, I think... since it appear that mysite.com/paypal/complete tries to send an email regarding the completed order.)
If this is the case can anyone confirm if notification is sent if the user does not return to your site after payment is made?

Avatar
Normann

Forum Moderator, 12 Posts

27 May 2010 at 12:59pm

@ MatWeir, a quick answer to your PxPay question. You could check out payment-module, you could find function doDPSHostedPayment() in DPSAdapter.php which is under code/DPSPayment/ and it use some third-party code/classes in folder DPSPayment/thirdparty/dps_hosted_helper, if this is what you mean by "code implementation examples".

Thanks.