Challenges In Payment Customization API Implementation #476
                  
                    
                      sebastianpisula
                    
                  
                
                  started this conversation in
                Feedback: Payment Customization API
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
We have developed an application that is based on the Payment Customization Function API, which allows for conditional operations on shipping payments:
The application is functional, we have installations, however, we encounter some challenges that may cause it to appear as if the application is not functioning correctly for sellers.
The entire source of the problems stems from the data sent in the Input function, specifically the PaymentCustomizationPaymentMethod field. Sample data sent in this API:
And a preview in the checkout looks like what’s shown on the screen.
It can be seen that what we receive in our function is different from what we see in the checkout. This generates a whole host of problems for customers. In the client’s intention, they have no idea what is being sent to us in the background, so they simply copy the name from the checkout and use it:
Manually added payment methods such as Cash on Delivery (COD) work correctly.
Example scenarios where a customer configures rules:
In the case of PayPal, you can use a mechanism to check if the phrase contains a string, but in the context of Credit card, this would not work.
Beta Was this translation helpful? Give feedback.
All reactions