Happy Business Starts Here

Valued Scholar

Is it possible to edit exist payment method by HPM?

Hi team,

 

If my customer have create a new payment method by HPM, and I want to allow my customer to edit that payment method by HPM iframe, is it possible? The relevant payment method id should not be changed. 

 

Thanks

4 REPLIES 4
Support SME

Re: Is it possible to edit exist payment method by HPM?

HPM is only used for creating new payment method, to update existing payment method, you could:

 

1.delete the old payment method and create a new one and update it to the account

Or

2. use API update() call to update the editable fields of payment mehtod. 



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Valued Scholar

Re: Is it possible to edit exist payment method by HPM?

@Yvonne Hi Yvonne, so in your first method can I assign a payment method id to the new payment method? since I do not want to lose the old payment method id. Thanks.

Support SME

Re: Is it possible to edit exist payment method by HPM?

No, if this is a new Payment Method, we will assign a new ID, this is an unique ID to identify each payment method. 



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

Valued Scholar

Re: Is it possible to edit exist payment method by HPM?

@Yvonne OK, thanks a lot!