如何在 eWay 定期付款中发送电子邮件? [英] How to send emails in eWay recurring payment?

查看:54
本文介绍了如何在 eWay 定期付款中发送电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 eWay 支付网关.我已经使用他们网站上的 eway php rebill 源完成了定期付款 &工作正常.但是我将如何向用户发送电子邮件(自定义)?我也想在数据库中维护这些事务.eWay 中是否有类似 Paypal 的 IPN 之类的东西?

I am using eWay payment gateway. I have done recurring payment using eway php rebill source from their site & is working fine. But how would i send emails(custom) to the user? Also i would want to maintain these transactions in database. Is there something like Paypal's IPN in eWay?

推荐答案

如果您想向用户发送自定义电子邮件,则需要将其与定期计费流程分开进行.不幸的是,没有付款事件通知,您能得到的最接近的方法是执行常规 QueryTransactions 以获取最近的交易.

If you'd like to send a custom email to the user you'll need to do that separate from the recurring billing process. Unfortunately there isn't a notification of payment events, the closest you could get would be to do a regular QueryTransactions to get recent transactions.

或者,如果您想要更大的灵活性和控制力,您可以将用户的卡详细信息存储为 eWAY 中的令牌,然后在您的应用程序中管理调度.

Alternatively if you would like more flexibility and control, you could store your user's card details as Tokens in eWAY, then manage the scheduling in your application.

这篇关于如何在 eWay 定期付款中发送电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆