nopsolutions / 2checkout-plugin-for-nopcommerce Goto Github PK
View Code? Open in Web Editor NEWnopCommerce plugin for 2checkout (payments)
Home Page: https://www.nopcommerce.com/
License: GNU General Public License v3.0
nopCommerce plugin for 2checkout (payments)
Home Page: https://www.nopcommerce.com/
License: GNU General Public License v3.0
On the main menu select "Account" then "Site Management".
should become
On the main menu select "Integrations" then "Webhooks & API".
Add a new point as below:
In the section "Instant Notification System (INS)" you have to tick the "Enable INS" checkbox.
Copy this URL: {GENERATED_URL_HERE} and paste it into "Approved URL".
should be replaced with
Copy this URL: {GENERATED_URL_HERE} and paste it into "Approved URL". Do the same on the "INS Settings" tab.
I have opened 2checkout account, activated sendbox, installed nopcommerce 2checkout plugin v4.5, configured it properly and when tried to pay order I keep getting PE106 error message. Then I wrote to 2checkout customer support and they replied with the following message:
I noticed that you are using the old Legacy cart wich is no longer supported and can cause some issues. We strongly recommend switching to our new and updated cart, ConvertPlus. Please see the documentation below:
https://verifone.cloud/docs/2checkout/Documentation/07Commerce/2Checkout-ConvertPlus
When can we expect that you are going to migrate nopcommerce 2checkout plugin to new cart, ConvertPlus?
Thanks,
DJ.
Hi,
In the Controllers/PaymentTwoCheckoutController.cs
Line 204, to change the payment status into Paid:
if (messageType.ToUpperInvariant() == "FRAUD_STATUS_CHANGED" && fraudStatus == "pass" && (invoiceStatus == "approved" || paymentType == "paypal ec")) { newPaymentStatus = PaymentStatus.Paid; }
I've had to add the invoiceStatus == "deposited" on this line:
&& (invoiceStatus == "approved" || invoiceStatus == "deposited" || paymentType == "paypal ec"))
Because for some orders with credit cards, this is shown first:
The "approved" is only shown under "ORDER_CREATED"
2Checkout IPN:
sale_id:
invoice_id:
message_type: ORDER_CREATED
invoice_status: approved
fraud_status: wait
payment_type: credit card
New payment status: Pending
Then followed by below after 8 seconds:
invoice status was changed to "deposited".
2Checkout IPN:
sale_id:
invoice_id:
message_type: FRAUD_STATUS_CHANGED
invoice_status: deposited
fraud_status: pass
payment_type: credit card
New payment status: Pending
And lastly:
2Checkout IPN:
sale_id:
invoice_id:
message_type: INVOICE_STATUS_CHANGED
invoice_status: deposited
fraud_status: pass
payment_type: credit card
New payment status: Pending
The credit card gets approved before the fraud status passed. And when the fraud status pass, the credit card is already marked as deposited, and the payment type did not change to paypal_ec...
Is that correct?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.