Use Apply Pay in Payment Connector for Commerce in F&O
-
Use Apply Pay in Payment Connector for Commerce in F&O
Hi,
We have implemented our Payment Connector using different payment methods such as Credit, Debit, mastercard, visa etc. We now want to implement Apple Pay for retail orders in F&O.
We use above MS Document to implement Card Types which is an enum type as mentioned in the Page 28.
We have implemented the enum as shown below in our custom payment connector project.
public enum CardTypes
{
Unknown = 0,
Debit = 1,
Visa = 2,
MasterCard = 3,
Discover = 4,
Amex =5,
GiftCard = 6,
PayPal = 11
}
Now we want to know what should be the value we use for the new value we create here. You can see that PayPal’s value is not 7 and instead it’s 11. So this is something Microsoft must be using when the response from payment gateway gets deserialized to Microsoft supported response format.
Please let me know if anyone has used the payment connector before for such 3rd Party payment methods such as Amazon, Google Pay, Apple Pay etc? Thanks,
Log in to reply.