Magento 2 Deny Payment Transaction Has Been Declined. Please Try Again Later.
Order & payment workflow¶
Amazon Pay button¶
The Amazon Pay button appears on several locations in the shop:
- on the shipping step of checkout (default location)
- on the cart page (default location)
- on the minicart (optional, depending on Configuration)
- on production pages (optional, depending on Configuration)
- on the list of payment methods (optional, depending on Configuration)
Pressing the Amazon Pay button launches the Amazon authentication window, where the customer is asked for their Amazon user business relationship credentials.
After a successful sign-in the customer is prompted to select an address and a payment method from their Amazon account, and so they are redirected to Magento checkout page.
Placing an order¶
The Amazon Pay checkout uses the standard Magento 2 checkout however it replaces its forms with the information from the Client'south Amazon account the forms would have requested (shipping address details and payment method).
On the shipping footstep of checkout the address is taken from the Customer's Amazon account. The shipping address is editable in Amazon hosted page after clicking 'Edit' push.
On the payment step of checkout, the billing adddress associated to the payment method chosen on Amazon hosted page is shown (European union/Great britain Payment Regions simply) and tin can be editable via Magento standard forms clicking on 'Edit Billing Address' button. The customer can return to Amazon hosted folio with 'Edit Payment Method' button.
Notation
For US/JP Payment Regions, the billing address associated to the payment method is not exposed past Amazon. The shipping address will be used to populate the billing address in Magento backend, but volition non be shown and will not be editable by the client at the payment step.
When the customers selects "Place Lodge", the buyer is redirected back to Amazon for Payment processing. PSD2 handling and Automated Reject Handling are managed by Amazon Pay at this stride.
Based on the final result of the transaction, the customer is then redirected to an order confirmation folio or at the initial pace of the checkout, exactly as it would happen in Magento 2 standard checkout.
Payment authorization¶
An authorization is automatically requested on order placement. At that place are two different say-so flows, Immediate and Automatic, as divers in Configuration.
Automatic¶
In this mode, the extension will try to authorize the order immediately (as described above). If this fails due to a timeout, it volition fallback to an asynchronous potency (returns Awaiting state with a Payment Review condition).
The customer will e'er be redirected to the standard Magento 2 confirmation screen every bit say-so country will be processed by Amazon Pay afterward the lodge is placed.
A status update on the state of the authorization will exist delivered via Polling or IPN depending on Configuration. At that place are 2 possible outcomes of this process:
- Authorization OK - Order moves to land Processing
- Difficult Turn down - Authorization is declined, Club moves to country Canceled. Client is emailed with instructions to contact the merchant.
Payment capture¶
Orders placed with Accuse on Lodge mode enabled volition automatically be captured. For orders placed using Charge on Shipment yous will need to raise an invoice. To practice this, the post-obit steps are required:
- Log in to the Magento 2 admin
- Open the society for which you want to capture payment and click the Invoice link located in the elevation row. Please make sure that the payment yous want to capture has an open up authorization transaction and is in the Processing land.
- Submit the invoice form ensuring the Capture Online pick above the Submit Invoice button is selected.
Alert
Information technology is vital that Capture Online is selected as otherwise Amazon Pay will not be instructed to capture the payment, resulting in yous not receiving whatsoever funds.
Note
We recommend creating the invoice and capturing the payment online within 7 days from lodge creation. After vii days, the status of the created invoice and of the payment capture will exist Pending and be updated at a afterwards time with either Polling or IPN, depending on your Configuration.
In example there is an effect while capturing the payment, a notification will be added to Magento two to make you enlightened of it.
Payment refund¶
The order, which payment has been captured for, can be refunded either fully or partially. Refunds are made against invoices and thus having a paid invoice assigned to the guild is a necessary status that has to be met to refund any order item.
Refunds in Magento 2 are recorded as credit memos. To asking a refund with Amazon Pay, you lot just demand to create a credit memo. To create a credit memo, login to the Magento ii admin, open the lodge you lot want refund, click the Invoices tab on the left, select an invoice y'all want to refund and click on it.
A preview of the selected invoice will appear. Brand sure that you are on the unmarried invoice preview folio and click the Credit Memo button.
A new credit memo form will appear with virtually of the crucial information (like product quantities to be refunded) already filled in.
If you desire to refund the invoice partially (i.e. only a part of the invoiced items) adjust the product quantities to be refunded (fix 0 for items that shall not be refunded) and click the Update Qty'due south push button to update refund totals. You tin likewise prepare the refunded items back to stock by checking Return to Stock checkbox.
Adjacent choose if you want to refund aircraft costs or employ whatsoever refund adjustments and fill in the appropriate fields. Before submitting the credit memo class, double cheque that you take the Refund button bachelor and click it. A credit memo will exist created and a refund will exist requested with Amazon Pay.
Refunds will always be initially accepted every bit the vast majority of the time in that location volition be no result. All the same, if in that location is a problem after the refund has been issued, a notification will be added to Magento 2 to brand you enlightened there has been a trouble refunding the customer.
Warning
Always use the Refund button bachelor on the new credit memo form invoked from the unmarried invoice preview page. If yous click Credit Memo button directly on the club page you volition be redirected to the new credit memo form with Refund offline button simply, which will announced to exist successful. All the same it volition not notify Amazon Pay and the customer will not receive their refund.
Source: https://amzn.github.io/amazon-payments-magento-2-plugin/flow.html
0 Response to "Magento 2 Deny Payment Transaction Has Been Declined. Please Try Again Later."
Postar um comentário