Release Date: September 17, 2024
URL: /packaging/installPackage.apexp?p0=04tOZ0000001pIDYAY
...
Parse the Payload of Charge Succeeded Webhook Event for BECS Debit only; exclude Credit Card to prevent duplicate Gateway Transaction
Info |
---|
Pre and Post-Config |
Permission Set
Assign the following permission set to the user want to use the feature.
· PosiPay
Digital Experiences
Note: This config is only for the webhook guest user, not the guest user for Stripe Form.
Create Community Site, then enable Public Access then Publish
Configure access profile for guest
...
Apex Class Access
...
WebhookListener
...
Object Access
...
GatewayEvent = Create/Read
Fields:
a.
...
Event ID
b.
...
Event Status
c.
...
Gateway Account
d.
...
Raw Request
e.
...
Webhook Event Object
ii ii. GatewayAccount = Create/Read
1. Fields:
a.
...
API Token
b.
...
Accepted Card
c.
...
Accepted Currency
d.
...
Active
e.
...
Base URL
f.
...
Default Currency
g.
...
Description
h.
...
Enable 3d Secure
i.
...
Enable Live Payment from Sandbox
j.
...
Fraud Trigger
k.
...
Gateway Provider
l.
...
Payment Method
m.
...
Publishable Key
n.
...
Sandbox
o.
...
Version
p.
...
Webhook Endpoint URL
q.
...
Unrequire CVC in Batch Gift Entry
iii. PosiPay Log = Create/Read
1. Fields:
a.
...
Description
b.
...
Details
c.
...
Source
d.
...
Type
iv iv. Gateway Invoice
1. Fields:
a.
...
Amount Paid
b.
...
Attempt Count
c.
...
Gateway Event
d.
...
Gift Transaction
e.
...
Gift Transaction ID
f.
...
Invoice Date
g.
...
Invoice ID
h.
...
Invoice Status
i.
...
Payment Intent ID
Sharing Settings
GatewayAccount for Webhook Guest User
a.
...
Criteria: Active = true
Create Gateway Account Record
Fill in the following fields.
a.
...
Gateway Account Name = any
b.
...
API Token = Secret key from Stripe Account
c.
...
Publishable Key = Publishable key from Stripe Account
d.
...
Version = v1
e.
...
Base URL = URL from the created Community Site
f.
...
Gateway Provider
g.
...
Active = false
h.
...
Sandbox = true/false
...
i. Note: TRUE indicates that the gateway account is in sandbox mode while FALSE indicates that the gateway account is in live mode.
i.
...
Enable 3D Secure = true/false
j.
...
Enable Live Payments from Sandbox = true/false
k.
...
Accepted Currency =
i I. AUD
ii. NZD NZD
iii iii. USD USD
iv iv. select select all
l.
...
Fraud Trigger =
i i. Blocked Blocked
ii ii. Manual Manual Review
iii. Issuer Issuer Declined
iv. select select all
m. Default Currency =
...
i.
...
AUD
...
ii.
...
NZD
...
iii.
...
USD
n.
...
Payment Method =
...
i.
...
Cash
ii ii. Credit Credit Card
iii iii. BECS BECS Debit iv
iv. Check Check
v v. Direct Direct Deposit
vi. Select all
o.
...
Accepted Card
i i. Visa Visa
ii. Mastercard Mastercard
iii. American American Express iv
iv. Discover Discover
v. Select Select all
Then click the Authenticate button after the record save.
...
· Endpoint URL: Webhook Endpoint URL fields from the created Gateway Account record above.
· Then click + Select events
· Then select following events
o charge.failed
o charge.pending
o charge.refunded
o charge.succeeded
o charge.updated
o invoice.created (remove this event if PosiPay version is 92 and above)
o invoice.payment_failed
o invoice.payment_succeeded
o invoice.updated (remove this event if PosiPay version is 92 and above)
o payout.failed
o payout.paid
o payment_intent.canceled
o invoice.marked_uncollectible
· Ensure that you use only one endpoint or webhook URL per Stripe account. Using multiple endpoints or webhook URLs can cause errors in processing transactions.
...
· Default Gateway Account fields = Gateway Account Id for Default
Object Manager:
Bank Account
...
· Add picklist value
i i. Canceled
ii ii. Dispute Under Review
...