Comments (8)
@elbertbautista @charchar @Jerry77oz
Do any of you guys have any additional info on this? @watermelonjuice, can you provide more information like what is happening now?
From IRC, this is on the latest version of the Paypal module (2.6) and 3.1.0-GA of Broadleaf.
from blc-paypal.
also related to this problem.
If the customer tries to buy additional products they no longer can express checkout with paypal as the cart attempts to re-use the same token.
"This transaction is invalid. Please return to the recipient's website to complete your transaction using their regular checkout flow." -- the paypal error
from blc-paypal.
@watermelonjuice @phillipuniverse -
This sounds like you are using PayPal as a Checkout Option and if so, this is working as intended as the new Broadleaf PayPal Express Checkout module supports two flows:
- initiate PayPal as a Checkout Option (from a cart page)
- initiate PayPal as a Payment Option (from the checkout page as a final payment)
Notice that for flow 1, the PayPal button is on the cart page.
Once you click on the button notice how the PayPal page displays that you will be able to see your order before checkout. The intention being that you could return to the checkout page and choose a fulfillment option which may or may not change the price of your order. Also note that the button on the PayPal page says "continue" implying that the checkout process is not complete yet.
- Flow number two allows you to offer it as a final Payment Option on the checkout page:
This button assumes that this is the final checkout process. Notice on the PayPal page that the order totals are displayed and the button on the bottom says "Pay Now" instead of continue. This will redirect back to complete checkout and forward to the confirmation page if successful.
from blc-paypal.
The configuration for flow 1 is:
<a blc:paypal_express_link="${paymentRequestDTO}" complete_checkout="${false}">
<img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" align="left" style="margin-right:7px;"/>
</a>
the configuration for flow 2 is:
<dd>
<div id="paypalfields">
<div class="form100">
<a blc:paypal_express_link="${paymentRequestDTO}" complete_checkout="${true}">
<img src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" align="left" style="margin-right:7px;"/>
</a>
</div>
</div>
</dd>
notice the complete_checkout
attribute. This is also documented in the PayPal Quick Start docs here: https://github.com/BroadleafCommerce/blc-paypal/blob/develop/docs/PayPal-Quick-Start.md and shows you how to integrate this in the DemoSite
from blc-paypal.
@watermelonjuice @phillipuniverse - also note that The PayPal Express Checkout Documentation specifies that you must offer PayPal Express Checkout as either a Checkout Option or a Payment Option (show above) https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECUIRequirements/. I've seen implementations where they offer only one though
from blc-paypal.
IMO, the shipping options should be passed to paypal using option_selectX. https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/
Nice work on the rewrite.
from blc-paypal.
According to that documentation, the option_selectX fields are for our equivalent product options like 'small' or 'red'.
Thanks @elbertbautista for the clarification, closing this.
from blc-paypal.
@watermelonjuice - thanks for the info on the option_selectX. I wasn't familiar with this integration method. However, it looks like this is part of their PayPal Payments Standard API.
The 'blc-paypal' module is an end-to-end integration for Express Checkout that utilizes the NVP API https://developer.paypal.com/webapps/developer/docs/classic/api/NVPAPIOverview/ We leveraged the code we wrote for previous versions that handle not only the order submission process but also the refund capture methods as well.
We have another module that integrates with PayPal PayFlow Pro and I believe the other PayPal Products like Payment Standard are on our integrations backlog as well.
from blc-paypal.
Related Issues (17)
- Compilation Error on develop HOT 1
- Fix Deprecated methods on develop HOT 1
- Module doesn't compile because of broadleaf-third-party-integration-config HOT 1
- Properties for BLC PayPal missing? HOT 1
- gateway.paypal.expressCheckout.shippingDisplayType=2 does not save customer's shipping address HOT 4
- Checkout with address to Netherlands or Singapore fails HOT 3
- Add additional redirect endpoints in Controller as alternative to using the Thymeleaf processor
- PayPal Express refuses transaction when there is an offer on the order. HOT 1
- Refunds currently require a REFUND_TYPE to be set with no clear way to do that
- Item description is not getting passed through to PayPal for email receipt
- PayPal security update: TLS 1.2 and HTTP/1.1 Upgrade - SSLHandshakeException
- Deprecate PayPalExpressCheckoutLinkProcessor HOT 1
- Express Checkout - Error: No Token Passed HOT 3
- How To Integrate This PAY-PAL Module to the Community-Version HOT 1
- Upgrades to the PayPal Module
- Update develop-ms branch so that it's aligned with latest microservices patterns
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blc-paypal.