Ticket #1760 (new enhancement)

Opened 9 months ago

Last modified 1 week ago

Add support for the PayPal payment gateway

Reported by: smagnusson Assigned to: rlouis
Type: enhancement Priority: medium
Milestone: E-Commerce 0.6.0 Component: Modules - ecommerce
Version: Severity: high effort / impact
Keywords: Cc: cmswarrior
Due date: Harvest Task: (Unknown)
Invoice sent to client: 0 Hours:

Description

Ideally, use the gateway option where we retain a one-page checkout, rather than going off to the paypal website to make payment.

This helps us retain our goal of making the shopping cart system really surprisingly easy for for the purchaser to use :)

Attachments

PayPalPayment.php (10.8 kB) - added by nicolaas 4 months ago.
paypalPaymentPage.ss (0.6 kB) - added by nicolaas 4 months ago.
this is the only other file I created specifically for the paypal payment page. The rest is in the e-commerce application.
paypal.rar (4.3 kB) - added by anthonykennelly 4 months ago.
Fixes the form autosubmit problem

Change History

Changed 9 months ago by cmswarrior

  • milestone set to E-Commerce 0.6.0-rc1

Changed 8 months ago by sminnee

  • cc set to cmswarrior

CMSWarrior, would you be able to look at this?

Changed 6 months ago by nicolaas

Hi

I am currently working on this - I will let you know if there is any progress.

Cheers

Nicolaas

Changed 5 months ago by nicolaas

Hi

I have just uploaded my first-first version of the PayPal? Payment method. What shall I do next or what is the process from here.

Cheers

Nicolaas

Changed 5 months ago by smagnusson

1. Can you upload a screenshot of what it looks like so we can confirm it all looks normal? 2. Please put a post on the forum and on silverstripe-dev for others to review it, and once someone else has done so, we'll look at it. The reason being, there a hundred people after this and so they will have the time and patience to go through it and offer suggestions and so on. :)

Changed 5 months ago by nicolaas

FYI, the paypal application I have made is based on the standard one, which goes through to the paypal payment gateway on the paypal server. The original idea was to have the more sophisticated one where you can make payments on your own website.

However, I think the current one will be a lot more interesting as Paypal is most often used as a first step into e-commerce, while more sophisticated payment gateways are more likely provided by other companies.

Changed 5 months ago by smagnusson

That's fine. Please show screenshots or take a screenshot using Wink showing the process so it makes it really easy for us to evaluate and give feedback ! :)

Changed 4 months ago by nicolaas

Changed 4 months ago by nicolaas

Just to be clear. To have an "on-site" payment gateway is significantly more expensive than to use the paypal "off-site" gateway. This is why first-time e-commerce folk often use the off-site one.

Changed 4 months ago by anthonykennelly

Hi Nicolaas Is it possible to supply all required files for the paypal payment gateway. i.e all the ss files and any other php files necessary for a complete solution so everybody can test it?

Unless of course you are not at this stage yet.

I agree with the off-site payment option. The on-site option could be something to consider once the off-site is complete so it sits more in line with the other payment gateways which are all fee based.

Changed 4 months ago by nicolaas

this is the only other file I created specifically for the paypal payment page. The rest is in the e-commerce application.

Changed 4 months ago by anthonykennelly

Fixes the form autosubmit problem

Changed 1 month ago by rlouis

The PayPalPayment? has been added to the Ecommerce trunk now !

Thanks Nicolaas and Anthony for your work on this !

As for the paypal gateway issue, I also agree with Nicolaas about what he said, the offside payment gateway is definitely better, especially the one of PayPal? where you can send all your order details (items names, price, quantity, shipping optional and tax optional).

As I have said in the ticket #1373, The paypal payment is going through a redirection page, and a security code has been added to the Payment part of Ecommerce to make sure that a user can not valid a 'uncomplete' paypal payment by the url !

In addition to the fact that the 'off-site' gateway is free, it's a lot simpler to manage in the way that the fields validation work is managed by PayPal?.

Some test still needs to be done on this.

Changed 1 month ago by rlouis

  • owner changed from sharvey to rlouis

Changed 1 month ago by sminnee

  • priority changed from critical to medium

Changed 1 week ago by add

http://www.salewroughtiron.cn installing metal stair rails Interior stair handrail installing metal stair rails Interior stair handrail exterior baluster Glass wood stainless wrought CONTEMPORARY designs stairways aluminum modern log banister DECK outdoor price posts vinyl curved rails http://www.china-made-door.com.cn door gate http://www.beijing-door.cn wrought CONTEMPORARY designs stairways installing metal stair rails Interior stair handrail exterior baluster Glass wood stainless wrought CONTEMPORARY designs stairways aluminum modern log banister DECK outdoor price posts vinyl curved rails http://www.hebei-railings.cn aluminum modern log banister DECK outdoor price installing metal stair rails Interior stair handrail exterior baluster Glass wood stainless wrought CONTEMPORARY designs stairways aluminum modern log banister DECK outdoor price posts vinyl curved rails posts vinyl curved rails

Note: See TracTickets for help on using tickets.