Magento serial codes - php

I'm using 'Serial Codes' from 'ModifyMage Solutions' to send serial codes when somebody is buying a product.
Does anybody knows how to send the serial codes ON PAYMENT?
Not on checkout, because that's simple, but ON PAYMENT?
Thanx in advance

You just need to edit your settings. The module can be configured to automatically issue Serial Codes on checkout success, or when an order is invoiced and paid. Source: http://www.modifymage.com/
Here's the important and relevant bits:
Choose to automatically issue Serial Codes based on customer group, checkout success, or when an order is invoiced and paid. Supports the option to create multiple invoices per order.
Automatically assign Serial Codes to deferred payment orders as "Pending" without actually issuing them to the customer until the order is invoiced. Allows for more effective tracking and inventory control. Pending codes are automatically returned to "Available" status if the order is cancelled.
Automatically withhold issuing of Serial Codes for standard Magento deferred payment methods ('Check or Money Order,' 'Cash On Delivery,' 'Bank Transfer') with the ability to notify customers that Serial Codes will be issued upon receipt of payment. Additional deferred payment methods from specific payment modules are also supported.

Related

PayPal API - Increase Order Amount after Authorisation. Best Checkout Flow?

We are using the PayPal / Braintree API.
What is the correct way of dealing with an increasing order amount (example: delivery costs), after the original order amount has been authorised?
Ideally, we want to send the customer to PayPal once, then they select their preferred delivery on our delivery page, without then sending the customer back to PayPal to ReAuth.
Is this possible?
The delivery amounts can be fairly large, that would take it above the 115% / $75 restrictions.
Thanks.
after the original order amount has been authorised?
Don't do that?
After payment is approved by the payer, but before authorising a transaction, show a review step. Use the selected address to calculate any applicable shipping and tax. Offer a choice of shipping methods if applicable.
When the new total is calculated, and when the user gives final confirmation, create the braintree transaction with the new amount (PayPal payment method in Braintree, or more generally with Braintree). This is analogous to using the non-Braintree PayPal REST API to capture an order with an updated (patched) amount.
One final detail is that since you have a review step after approval, if using the PayPal SDK you should set commit: false (it defaults to true) so that the last button has the correct verbiage indicating there is a further step on returning to your site. With Braintree this looks something like:
paypalCheckoutInstance.loadPayPalSDK({
intent: ????????? , // Braintree defaults this to 'authorize'
currency: 'USD',
commit: false,

WooCommerce - pay order with multiple payment methods at same time

I want to know if there is a way to customize WooCommerce such that the clients could pay the same order with multiple payment methods at the same time?
For example, if one order is worth $100, I want to allow clients to pay $25 with a Visa card, then $75 with a Discover card. So the general idea is to pay one order (don't checkout multiple times), but use more than just one payment method.
I assume there is some way to personalize something, but I want to know where/how to get started with it.
EDIT 1
Just adding a new payment gateway (custom) does not solve the issue. I know how to create a custom payment gateway.
The issue is: how do I allow on ONE checkout for ONE order to get the payment out of 2 or more sources at the same time? For example: $175 cashed in as $50 PayPal + $100 Visa + $25 MasterCard.
There are many clients who would love to have this option, and pay with more cards at the same time!
So, this is not one of those obvious questions as how do I create a custom payment gateway? - that is something easily achievable without spending too much time on it. The multiple payment on same checkout, however, proves to be lengthy / not discussed (I've researched many articles, forums, etc.)
What I would do is to create a custom payment gateway, and in that gateway, create interfaces for ALL the payment methods you want to use.
I would say use something like Stripe for all the CC and then PayPal - that way you will have only two separate ones to handle.
You need to put in an option to pay X amount on each payment gateway on the Checkout screen.
Then in your plugin when someone partially pays, create a coupon for the amount of the partial payment using the Coupon API and apply that.
You will also need an Order Status of Partial Payment or something. You would also need to redirect back to the Checkout page if the order isn't completely paid, instead of the Order Success page.
It's pretty complicated to do this right.
Workaround: You can purchase a gift card on our site for any amount with one credit card. You can then use the gift card and then use another credit card for the balance.
Example: Total price $450
Gift card purchase (Card "A"): $400
Credit Card balance (Card "B"): $50

Order does not exist in Magento but customer has paid for it

One situation was happened in my website which build in Magento.
Situation is : A customer added products in cart, he bought products using Paypal express checkout payment method. he did the transaction in Paypal, money was deducted from his account but the order was not created in Magento due to unknown issue(I think due to internet issue on client machine or our server issue).
What I want do now : I got his cart detail from sales_flat_quote and sales_flat_quote_item table. I want to generate an order using this detail using Paypal payment method progamatically . customer has send us the Paypal transaction id, invoice id from Paypal and also shipping address.
Can anyone tell me how to do this ?

How to create memo in magento?

I have an order with paid invoice and a want to refund it.
Using PayPal express checkout(Sale) account.
How i change the invoice status and cancel order in Magento.
When i click on Refund button it respond me "Cannot create memo"
If you cant create a credit memo, may it be because of the following reasons:
The invoice for that particular order has not been created.
The grand total of that order is zero (may be after applying discount).
Have you ticked the check-box that appears just above the refund amount ??(i.e whether to mail the customer the credit memo.) If Yes, then the email sending is failing and memo is not getting created.

Magento secure trading payment method need to hold a payment option

In my magento store have many customers. I want to offer my old customer with this special option.
(i.e) No need to pay at the end of the sale. They can pay later with their outstanding invoices by online mode. Is there any possible to set this option with magento store.
I m using Secure trading payment gateway.
Thanks
Yes, You could implement payment method for special customer group and this payment method Will only generate invoice for the sales order and set its status to Pending.
Then you will do another module that add tab to the customer account page ( for example Pending Invoices ), And this module generate payment form based on invoice/order data and when they pay it you mark the invoice as paid and captured.
Its straight forward concept if you know that Magento Invoices has Statuses ( Paid, Pending, Canceled ) And you can check the invoices from sales->invoice ( just like the orders !)

Categories